about summary refs log tree commit diff
path: root/math/auto-libm-test-in
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-01 23:06:44 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-01 23:06:44 +0000
commit5ffb9a53d7d8dec873b272d162ba4f84452a3d03 (patch)
tree9d50fcae4f65e87ecce66563b4e8c85870f463e1 /math/auto-libm-test-in
parent0957e15d0a58b389155750f6748f083196e06c31 (diff)
downloadglibc-5ffb9a53d7d8dec873b272d162ba4f84452a3d03.tar.gz
glibc-5ffb9a53d7d8dec873b272d162ba4f84452a3d03.tar.xz
glibc-5ffb9a53d7d8dec873b272d162ba4f84452a3d03.zip
Add more tests of tanh.
This patch adds some randomly-generated tests of tanh that are
observed to increase ulps on x86_64.

Tested for x86_64 and x86 and ulps updated accordingly.

	* math/auto-libm-test-in: Add more tests of tanh.
	* math/auto-libm-test-out: Regenerated.
	* sysdeps/i386/fpu/libm-test-ulps: Update.
	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'math/auto-libm-test-in')
-rw-r--r--math/auto-libm-test-in10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 249aa9de20..64000ffbb7 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -2418,6 +2418,16 @@ tanh -0.75
 tanh 1.0
 tanh -1.0
 tanh 0x1p-57
+tanh 0xe.6c659p-4
+tanh 0x8.c259ep-4
+tanh 0x6.5821dp-4
+tanh 0x8.7c9e5p-4
+tanh -0x3.b60d7cp-4
+tanh 0x7.b9985p-4
+tanh 0x7.a18e8p-4
+tanh -0x2.6082fp-4
+tanh 0xe.05031p-16
+tanh 0x3.c80eaa7adaa3p-4
 
 tgamma 0.5
 tgamma -0.5