[libc-commits] [libc] [libc][math][c++23] Add {ceil, floor, round, roundeven, trunc}bf16 math functions (PR #152352)
via libc-commits
libc-commits at lists.llvm.org
Thu Aug 7 11:55:54 PDT 2025
================
@@ -543,6 +556,19 @@ add_fp_unittest(
libc.src.__support.FPUtil.fp_bits
)
+add_fp_unittest(
+ ceilbf16_test
+ SUITE
+ libc-math-smoke-tests
+ SRCS
+ ceilbf16_test.cpp
+ HDRS
+ CeilTest.h
+ DEPENDS
+ libc.src.__support.FPUtil.bfloat16
+ libc.src.math.ceilbf16
----------------
overmighty wrote:
Nit: sorting. Same for the other tests below.
```suggestion
libc.src.math.ceilbf16
libc.src.__support.FPUtil.bfloat16
```
https://github.com/llvm/llvm-project/pull/152352
More information about the libc-commits
mailing list