[libc-commits] [libc] [libc] Use `rint` builtin for rounding on the GPU (PR #98345)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Wed Jul 10 09:33:52 PDT 2024
jhuber6 wrote:
> > Godbolt link is wrong, pointing to sin. This is a directly legal instruction so less explanation is needed too
>
> Might as well handle nearbyint and roundeven too
@lntue do we have utility functions for these? I was going to add `roundeven` because we forgot to add that previously.
https://github.com/llvm/llvm-project/pull/98345
More information about the libc-commits
mailing list