[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:39 PDT 2024
================
@@ -2380,6 +2380,60 @@ add_fp_unittest(
libc.src.stdlib.srand
)
+add_fp_unittest(
+ fdiv_test
+ NEED_MPFR
+ SUITE
+ libc-math-unittests
+ SRCS
+ fdiv_test.cpp
+ HDRS
+ DivTest.h
+ DEPENDS
+ libc.src.math.fdiv
+)
+
+add_fp_unittest(
+ fdivl_test
+ NEED_MPFR
+ SUITE
+ libc-math-unittests
+ SRCS
+ fdivl_test.cpp
+ HDRS
+ DivTest.h
+ DEPENDS
+ libc.src.math.fdivl
+)
+
+
+add_fp_unittest(
+ ffma_test
+ NEED_MPFR
+ SUITE
+ libc-math-unittests
+ SRCS
+ ffma_test.cpp
+ HDRS
+ DivTest.h
+ DEPENDS
+ libc.src.math.ffma
+)
+
+add_fp_unittest(
+ ffmal_test
+ NEED_MPFR
+ SUITE
+ libc-math-unittests
+ SRCS
+ ffmal_test.cpp
+ HDRS
+ DivTest.h
+ DEPENDS
+ libc.src.math.ffmal
+)
----------------
overmighty wrote:
```suggestion
HDRS
FmaTest.h
DEPENDS
libc.src.math.ffmal
libc.src.stdlib.rand
libc.src.stdlib.srand
)
```
https://github.com/llvm/llvm-project/pull/101253
More information about the libc-commits
mailing list