[libc-commits] [libc] [libc][math] Add scalbln{, f, l, f128} math functions (PR #102219)
via libc-commits
libc-commits at lists.llvm.org
Thu Aug 8 03:20:38 PDT 2024
================
@@ -3618,6 +3618,52 @@ add_fp_unittest(
libc.src.math.atan2
)
+add_fp_unittest(
+ scalbln_test
+ SUITE
+ libc-math-smoke-tests
+ SRCS
+ scalbln_test.cpp
+ HDRS
+ ScalbnTest.h
+ DEPENDS
+ libc.src.math.scalbln
+ libc.src.__support.CPP.limits
+ libc.src.__support.FPUtil.fp_bits
+ libc.src.__support.FPUtil.normal_float
+)
+
+add_fp_unittest(
+ scalblnf_test
+ SUITE
+ libc-math-smoke-tests
+ SRCS
+ scalblnf_test.cpp
+ HDRS
+ ScalbnTest.h
+ DEPENDS
+ libc.src.math.scalblnf
+ libc.src.__support.FPUtil.fp_bits
+ libc.src.__support.CPP.limits
+ libc.src.__support.FPUtil.fp_bits
----------------
overmighty wrote:
```suggestion
libc.src.__support.FPUtil.fp_bits
libc.src.__support.CPP.limits
```
https://github.com/llvm/llvm-project/pull/102219
More information about the libc-commits
mailing list