summary refs log tree commit diff
path: root/math/auto-libm-test-in
diff options
context:
space:
mode:
authorPaul Zimmermann <Paul.Zimmermann@inria.fr>2021-10-05 10:32:36 +0200
committerPaul Zimmermann <Paul.Zimmermann@inria.fr>2021-10-05 13:45:37 +0200
commit6bbf7298323bf31bc43494b2201465a449778e10 (patch)
tree4dabd416c1e18864b18b09549d494f101df36420 /math/auto-libm-test-in
parenta312e8fe6d89f5eae6a4583d5db577121e61c0b5 (diff)
downloadglibc-6bbf7298323bf31bc43494b2201465a449778e10.tar.gz
glibc-6bbf7298323bf31bc43494b2201465a449778e10.tar.xz
glibc-6bbf7298323bf31bc43494b2201465a449778e10.zip
Fixed inaccuracy of j0f (BZ #28185)
The largest errors over the full binary32 range are after this
patch (on x86_64):

RNDN: libm wrong by up to 9.00e+00 ulp(s) [9] for x=0x1.04c39cp+6
RNDZ: libm wrong by up to 9.00e+00 ulp(s) [9] for x=0x1.04c39cp+6
RNDU: libm wrong by up to 9.00e+00 ulp(s) [9] for x=0x1.04c39cp+6
RNDD: libm wrong by up to 8.98e+00 ulp(s) [9] for x=0x1.4b7066p+7

Inputs that were yielding huge errors have been added to "make check".
Reviewed-by: Adhemeral Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'math/auto-libm-test-in')
-rw-r--r--math/auto-libm-test-in45
1 files changed, 45 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 52a529682d..9837ca0ca7 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -5806,6 +5806,51 @@ j0 0x1.04c39cp+6
 j0 0x1.4b7066p+7
 # the next value exercises the flt-32 code path for x >= 2^127
 j0 0x8.2f4ecp+124
+# the next values gave an error > 9 ulps with glibc-2.34 (flt-32)
+j0 0x1.31ec02p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.31e716p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.31f51ep+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.320226p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.31ed76p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32083cp+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32614ep+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32dc02p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32e304p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32e00cp+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32e504p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32e12p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32dc22p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32dc24p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32eb18p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.32fa0cp+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.335806p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.335a0cp+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.336p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.336c1cp+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.336336p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33712ep+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.339506p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33950cp+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.339d06p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33b402p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33b50ap+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33c4p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33c202p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33c702p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33c50ap+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33c312p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33c80ap+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33cb04p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33cfp+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33d1p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33d102p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33d10cp+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33d116p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33d12cp+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33d138p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33d146p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33d15p+1 xfail:binary64 xfail:intel96 xfail:binary128
+j0 0x1.33d152p+1 xfail:binary64 xfail:intel96 xfail:binary128
 
 j1 -1.0
 j1 0.0