[libc-commits] [libc] [libc][math][c23] Add scalbln{, f, l, f128} C23 math functions (PR #102219)

via libc-commits libc-commits at lists.llvm.org
Tue Aug 6 14:22:08 PDT 2024


================
@@ -3618,6 +3618,45 @@ add_fp_unittest(
     libc.src.math.atan2
 )
 
+add_fp_unittest(
+  scalbln_test
+  SUITE
+    libc-math-smoke-tests
+  SRCS
+    scalbln_test.cpp
+  HDRS
+    ScalbnTest.h
+  DEPENDS
+    libc.src.math.scalbln
+    libc.src.__support.FPUtil.fp_bits
+)
----------------
overmighty wrote:

The `scalbn*` tests' dependencies should be updated to match the includes of LdExpTest.h, which is itself included by ScalbnTest.h. The `ldexp*` tests' dependencies are correct.

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


More information about the libc-commits mailing list