[libc-commits] [libc] [libc] Implement basic 'fenv.h' utilities on the AMD GPU (PR #83500)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue May 7 12:10:44 PDT 2024


jhuber6 wrote:

> > @lntue This seems to make the `nearbyint` test begin failing, most likely because `set_round` is no-longer a no-op. Any clue why that would be? I'm surprised it passed before if rounding was required.
> 
> Where's the test and failing in what way? We only have minimal strictfp support and nearbyint isn't implemented

https://github.com/llvm/llvm-project/blob/main/libc/test/src/math/smoke/NearbyIntTest.h is the test. The implementation is just a built-in. I can try to narrow it down later.

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


More information about the libc-commits mailing list