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

via libc-commits libc-commits at lists.llvm.org
Thu Aug 8 16:24:02 PDT 2024


================
@@ -202,6 +202,20 @@ add_fp_unittest(
     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
+    libc.src.__support.FPUtil.basic_operations
+)
----------------
overmighty wrote:

libc/test/src/math/AddTest.h doesn't include BasicOperations.h.

```suggestion
  DEPENDS
    libc.src.math.faddl
)
```

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


More information about the libc-commits mailing list