about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorPaul Zimmermann <Paul.Zimmermann@inria.fr>2020-08-07 16:14:53 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-08-07 16:33:13 -0300
commitb7dd366dbeeff3016d0554c08a5f5c8cfe4c31d1 (patch)
treeecba427036d83b41e0b4fcec49f0120d4a424366 /math
parent1cfb4715288845ebc55ad664421b48b32de9599c (diff)
downloadglibc-b7dd366dbeeff3016d0554c08a5f5c8cfe4c31d1.tar.gz
glibc-b7dd366dbeeff3016d0554c08a5f5c8cfe4c31d1.tar.xz
glibc-b7dd366dbeeff3016d0554c08a5f5c8cfe4c31d1.zip
math: Fix inaccuracy of j0f for x >= 2^127 when sin(x)+cos(x) is tiny
Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'math')
-rw-r--r--math/auto-libm-test-in2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 4414e54d93..5d488a8711 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -5748,6 +5748,8 @@ j0 0x1p16382
 j0 0x1p16383
 # the next value generates larger error bounds on x86_64 (binary32)
 j0 0x2.602774p+0 xfail-rounding:ibm128-libgcc
+# the next value exercises the flt-32 code path for x >= 2^127
+j0 0x8.2f4ecp+124
 
 j1 -1.0
 j1 0.0