about summary refs log tree commit diff
path: root/math/auto-libm-test-in
diff options
context:
space:
mode:
authorSunil K Pandey <skpgkp2@gmail.com>2022-01-12 12:26:35 -0800
committerSunil K Pandey <skpgkp2@gmail.com>2022-01-14 06:00:06 -0800
commit047512374a95b7bc42a996f61def50843f2bd5e7 (patch)
tree511bb141667976108ee0746c4006618fcc3d507b /math/auto-libm-test-in
parent7de501f9418bf099e7104b63b0e4423257981b14 (diff)
downloadglibc-047512374a95b7bc42a996f61def50843f2bd5e7.tar.gz
glibc-047512374a95b7bc42a996f61def50843f2bd5e7.tar.xz
glibc-047512374a95b7bc42a996f61def50843f2bd5e7.zip
math: Add more inputs to atan2 accuracy tests [BZ #28765]
This patch adds following inputs:

0x1.bcab29da0e947p-54 0x1.bc41f4d2294b8p-54
0x1.a11891ec004d4p-348 0x1.814830510be26p-348
0x1.b836ed678be29p-588 0x1.b7be6f5a03a8cp-588
0x1.a83f842ef3f73p-633 0x1.a799d8a6677ep-633

to atan2 tests and updates x86_64 double atan2 ulps.

This fixes BZ #28765.

Reviewed-By: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Diffstat (limited to 'math/auto-libm-test-in')
-rw-r--r--math/auto-libm-test-in8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 966201c090..9080afe4fb 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -488,6 +488,14 @@ atan2 0x3.f16f1p+0 -0x1.546056p+0
 atan2 -0x1.9e657cp-24 0x7.40bb4p-52
 # the next value generates larger error bounds on x86_64 (binary32)
 atan2 -0x1.f9cf48p+49 0x1.f60598p+51
+# the next value generates larger error bounds on x86_64 (binary64)
+atan2 0x1.bcab29da0e947p-54 0x1.bc41f4d2294b8p-54
+# the next value generates larger error bounds on x86_64 (binary64)
+atan2 0x1.a11891ec004d4p-348 0x1.814830510be26p-348
+# the next value generates larger error bounds on x86_64 (binary64)
+atan2 0x1.b836ed678be29p-588 0x1.b7be6f5a03a8cp-588
+# the next value generates larger error bounds on x86_64 (binary64)
+atan2 0x1.a83f842ef3f73p-633 0x1.a799d8a6677ep-633
 # the next value generates larger error bounds on x86_64 (binary128)
 atan2 0x1.41df5aa214612c7e019fa6ade88p-13316 0x5.e53b26a270a29eb9f77ef8ef7af8p-13316
 atan2 min min