[libc-commits] [libc] [libc][math][c23] Add f16sqrtf C23 math function (PR #95251)

via libc-commits libc-commits at lists.llvm.org
Thu Jun 13 07:35:50 PDT 2024


================
@@ -3601,3 +3601,15 @@ add_entrypoint_object(
   COMPILE_OPTIONS
     -O3
 )
+
+add_entrypoint_object(
+  f16sqrtf
+  SRCS
+    f16sqrtf.cpp
+  HDRS
+    ../f16sqrtf.h
+  DEPENDS
+    libc.src.__support.FPUtil.sqrt
----------------
overmighty wrote:

I'll open a PR later to fix it for the other `*f16` functions above too.

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


More information about the libc-commits mailing list