libm
libm copied to clipboard
Replace i586 `ceil` and `floor` implementations with assembly to fix +/-0
From https://github.com/rust-lang/libm/pull/404#issuecomment-2572399955:
i think for
i586it should just usefrndintwith setting the x87 CW (actually not slow) forfloor/ceil. like: https://github.com/NetBSD/src/blob/20433927938987dd64c8f6aa46904b7aca3fa39e/lib/libm/arch/i387/s_ceil.S