[libc-commits] [libc] [libc][math][c23] Add exp2m1f16 C23 math function (PR #105690)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Aug 22 10:38:33 PDT 2024


jhuber6 wrote:

I poked at it but couldn't figure out why it's giving `0.0` instead of `-0.0`. Seems to work on NVPTX so I don't know what's different here. Ruled out `__builtin_rint` and optimizations, so it might just be some weird lowering. @arsenm might have a guess? Otherwise, feel free to remove (or comment it out with a note) for the GPU case so you're not blocked on that.

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


More information about the libc-commits mailing list