[libc] [llvm] [libc][math] Implement C23 half precision pow function (PR #159906)

Muhammad Bassiouni via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 09:58:43 PST 2026


================
@@ -2674,6 +2674,17 @@ add_fp_unittest(
     libc.src.__support.FPUtil.fp_bits
 )
 
+add_fp_unittest(
+  powf16_test
+  NEED_MPFR
+  SUITE
+    libc-math-unittests
+  SRCS
+    powf16_test.cpp
+  DEPENDS
+    libc.src.math.powf16
+    libc.src.__support.FPUtil.fp_bits
+)
----------------
bassiounix wrote:

```suggestion
)

```

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


More information about the llvm-commits mailing list