[libc-commits] [libc] [libc][math][c23] Add fadd{l, f128} C23 math functions (PR #102531)

via libc-commits libc-commits at lists.llvm.org
Fri Aug 9 09:02:59 PDT 2024


================
@@ -151,8 +151,32 @@ add_fp_unittest(
     AddTest.h
   DEPENDS
     libc.src.math.fadd
-    libc.src.__support.FPUtil.basic_operations
+)
+
+add_fp_unittest(
+  faddl_test
+  NEED_MPFR
+  SUITE
+    libc-math-unittests
+  SRCS
+    faddl_test.cpp
+  HDRS
+    AddTest.h
+  DEPENDS
+    libc.src.math.faddl
+)
----------------
overmighty wrote:

Should add `libc.hdr.*` on all tests that include smoke/AddTest.h, including tests for `fadd*`.

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


More information about the libc-commits mailing list