diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-04-11 19:32:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-04-11 19:32:37 +0000 |
commit | c1e6b459c874837a402c3c09d9fe7906e57d33e7 (patch) | |
tree | b8b455c573095bd80108b044530389f2158153f8 /math/w_j0.c | |
parent | 22dca1ea77613162d597c7cb0729873619eaf5e0 (diff) | |
download | glibc-c1e6b459c874837a402c3c09d9fe7906e57d33e7.tar.gz glibc-c1e6b459c874837a402c3c09d9fe7906e57d33e7.tar.xz glibc-c1e6b459c874837a402c3c09d9fe7906e57d33e7.zip |
[BZ4997]
* 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.
Diffstat (limited to 'math/w_j0.c')
0 files changed, 0 insertions, 0 deletions