[libc-commits] [libc] [llvm] [libc] Add missing MPFR-based tests for math functions (PR #218281)

via libc-commits libc-commits at lists.llvm.org
Sat Aug 29 10:50:54 PDT 2026


Sukumarsawant wrote:

So, the bazel error seems realted this time :) 

For the failing test the STEPS seem to be 0 in case of float16 and bfloat16 due to count being greater 
But that case wasn't handled in the remquoTest.h 
So we need to add something like
```CPP
max( MAX_SUBNORMAL_MIN_SUBNORMAL)/COUNT, 1)
 ```
 
 Also for those tests we need proper exhaustive tests too if you can add that . ( Though you can do that in a separate PR since this has become long enough . Let me know if you're intrested in adding them) 

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


More information about the libc-commits mailing list