[libc-commits] [libc] [libc][math][c23] Add log2p1f16 C23 math function (PR #186754)

Shikhar Soni via libc-commits libc-commits at lists.llvm.org
Mon Mar 16 10:46:20 PDT 2026


================
@@ -2215,6 +2215,17 @@ add_fp_unittest(
     libc.src.math.log10p1f16
 )
 
+add_fp_unittest(
+  log2p1f16_test
+  NEED_MPFR
+  SUITE
+    libc-math-unittests
+  SRCS
+    log2p1f16_test.cpp
+  DEPENDS
+    libc.src.math.log2p1f16
----------------
shikharish wrote:

Do we need it? `log2f16_test` doesn't include it as well.

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


More information about the libc-commits mailing list