[libc-commits] [libc] [libc][math][c23] Add exp2m1f C23 math function (PR #86996)

via libc-commits libc-commits at lists.llvm.org
Thu Mar 28 13:37:59 PDT 2024


================
@@ -142,6 +142,21 @@ add_fp_unittest(
     -lpthread
 )
 
+add_fp_unittest(
+  exp2m1f_test
+  NO_RUN_POSTBUILD
+  NEED_MPFR
+  SUITE
+    libc_math_exhaustive_tests
+  SRCS
+    exp2m1f_test.cpp
+  DEPENDS
+    .exhaustive_test
+    libc.src.math.exp2m1f
----------------
overmighty wrote:

Why is `exp2f_test` above depending on `libc.include.math` and `libc.src.__support.FPUtil.fp_bits`?

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


More information about the libc-commits mailing list