mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-05 17:11:06 +00:00
c1e6b459c8
* sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the mantissa. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): Likewise. Also account for when x is an odd number between 2^52 and 2^53-1. * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. * math/libm-test.inc (lround_test, llround_test): Added test cases to detect aforementioned erroneous conditions. |
||
---|---|---|
.. | ||
Makefile | ||
mpa.c | ||
s_llrint.S | ||
s_llrintf.S | ||
s_llround.S | ||
s_llroundf.S | ||
slowexp.c | ||
slowpow.c | ||
w_sqrt.S | ||
w_sqrtf.S |