[libc-commits] [libc] [libc][math][c23] Add fsub{, l, f128} and remainderf128 C23 math functions (PR #101576)

via libc-commits libc-commits at lists.llvm.org
Sat Aug 3 04:01:13 PDT 2024


================
@@ -4227,6 +4227,42 @@ add_fp_unittest(
     libc.src.math.fsqrtf128
 )
 
+add_fp_unittest(
+  fsub_test
+  SUITE
+    libc-math-smoke-tests
+  SRCS
+    fsub_test.cpp
+  HDRS
+    SubTest.h
+  DEPENDS
+    libc.src.math.fsub
+)
----------------
overmighty wrote:

```suggestion
  DEPENDS
    libc.hdr.errno_macros
    libc.hdr.fenv_macros
    libc.src.math.fsub
)
```

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


More information about the libc-commits mailing list