aboutsummaryrefslogtreecommitdiff
path: root/math/auto-libm-test-in
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-03-24 23:48:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-03-24 23:48:04 +0000
commit239ed6f309d835c35c95ea0c492cbe15aa4cc7bf (patch)
tree51ca5aefd5980995254ae49d2fbef04bcf490a33 /math/auto-libm-test-in
parenta737e8263a47acacdc70407729c4808c2873fdec (diff)
downloadglibc-239ed6f309d835c35c95ea0c492cbe15aa4cc7bf.tar
glibc-239ed6f309d835c35c95ea0c492cbe15aa4cc7bf.tar.gz
glibc-239ed6f309d835c35c95ea0c492cbe15aa4cc7bf.tar.bz2
glibc-239ed6f309d835c35c95ea0c492cbe15aa4cc7bf.zip
Add more tests of cosh, sinh.
This patch adds some randomly-generated tests of cosh and sinh 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 cosh and sinh. * 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-in11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 91d2ae6f41..fbfa562b2d 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -780,6 +780,7 @@ cosh 0x1p-5
cosh 0x1p-20
cosh -1
cosh 50
+cosh -0xb.60713p+0
# GCC bug 59666: results on directed rounding may be incorrect.
cosh max no-test-inline xfail-rounding:ldbl-128ibm
cosh -max no-test-inline xfail-rounding:ldbl-128ibm
@@ -2089,6 +2090,16 @@ sinh 0x8p-32
sinh 22
sinh 23
sinh 24
+sinh -0x7.55d7f8p-4
+sinh -0x3.f392f8p-4
+sinh 0x1.c56446p+0
+sinh 0x6.cac622d51eebcp-4
+sinh -0x5.c4cb02389c094p+0
+sinh -0x1.646850f515ef2p+0
+sinh -0x7.a8c5f68c81fae5dp-4
+sinh 0x3.4a037p-4
+sinh -0x3.eba6dbcbeceb2p-4
+sinh -0x2.55f63p+0
sqrt 0
sqrt -0