brintos

brintos / llvm-project-archived public Read only

0
0
Text · 764 B · e66b650 Raw
27 lines · c
1//===-- Implementation header for dsqrtl ------------------------*- C++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIBC_SRC___SUPPORT_MATH_DSQRTL_H10#define LLVM_LIBC_SRC___SUPPORT_MATH_DSQRTL_H11 12#include "src/__support/FPUtil/generic/sqrt.h"13 14namespace LIBC_NAMESPACE_DECL {15 16namespace math {17 18LIBC_INLINE static constexpr double dsqrtl(long double x) {19  return fputil::sqrt<double>(x);20}21 22} // namespace math23 24} // namespace LIBC_NAMESPACE_DECL25 26#endif // LLVM_LIBC_SRC___SUPPORT_MATH_DSQRTL_H27