[libc-commits] [libc] [libc][math][c23] Add ffma{d, l, f128} and fdiv{d, l, f128} C23 math functions #101089 (PR #101253)

via libc-commits libc-commits at lists.llvm.org
Wed Jul 31 09:25:40 PDT 2024


================
@@ -4017,6 +4017,78 @@ add_fp_unittest(
     libc.src.math.f16sqrtf128
 )
 
+add_fp_unittest(
+  fdiv_test
+  SUITE
+    libc-math-smoke-tests
+  SRCS
+    fdiv_test.cpp
+  HDRS
+    DivTest.h
+  DEPENDS
+    libc.src.math.fdiv
+)
+
+add_fp_unittest(
+  fdivl_test
+  SUITE
+    libc-math-smoke-tests
+  SRCS
+    fdivl_test.cpp
+  HDRS
+    DivTest.h
+  DEPENDS
+    libc.src.math.fdivl
+)
----------------
overmighty wrote:

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

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


More information about the libc-commits mailing list