[libc-commits] [libc] [libc][math][c23] add entry points and tests for fsqrt (PR #99669)

via libc-commits libc-commits at lists.llvm.org
Fri Jul 19 12:09:15 PDT 2024


================
@@ -0,0 +1,21 @@
+//===-- Implementation header for fsqrt -------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_MATH_FSQRT_H
+#define LLVM_LIBC_SRC_MATH_FSQRT_H
+
+#include "src/__support/macros/config.h"
+#include "src/__support/macros/properties/types.h"
+
+namespace LIBC_NAMESPACE_DECL {
+
+float fsqrt(double x);
+
+} // namespace LIBC_NAMESPACE_DECL
+
+#endif // LLVM_LIBC_SRC_MATH_F16SQRT_H
----------------
lntue wrote:

`LLVM_LIBC_SRC_MATH_FSQRT_H`

https://github.com/llvm/llvm-project/pull/99669


More information about the libc-commits mailing list