diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-11-06 16:09:05 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-11-06 16:09:05 +0100 |
commit | ba60be873554ecd141b55ea82647714933c0dbd4 (patch) | |
tree | c5e684e2e255634d422c0072cd76ba7f7744d9de /stdio-common/tst-printf-format-f-int.c | |
parent | ff254cabd64bec6b6810ee1e1f0c901d273efaca (diff) | |
download | glibc-ba60be873554ecd141b55ea82647714933c0dbd4.zip glibc-ba60be873554ecd141b55ea82647714933c0dbd4.tar.gz glibc-ba60be873554ecd141b55ea82647714933c0dbd4.tar.bz2 |
math: Fix incorrect results of exp10m1f with some GCC versions
On GCC 11 (x86-64), the previous code produced test failures like
this one:
Failure: Test: exp10m1_towardzero (-0x1.1p+4)
Result:
is: -1.00000000e+00 -0x1.000000p+0
should be: -9.99999940e-01 -0x1.fffffep-1
difference: 5.96046447e-08 0x1.000000p-24
ulp : 1.0000
max.ulp : 0.0000
Apply a similar fix to exp2m1f.
Co-authored-by: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'stdio-common/tst-printf-format-f-int.c')
0 files changed, 0 insertions, 0 deletions