about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/libm-test-ulps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-01 22:54:39 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-01 22:54:39 +0000
commit0957e15d0a58b389155750f6748f083196e06c31 (patch)
tree1c19f262e6b8c47125ea7ce4dc3e4101f40e657e /sysdeps/x86_64/fpu/libm-test-ulps
parent827bb5859c2b3e0471d6273617368fc76a821e6e (diff)
downloadglibc-0957e15d0a58b389155750f6748f083196e06c31.tar.gz
glibc-0957e15d0a58b389155750f6748f083196e06c31.tar.xz
glibc-0957e15d0a58b389155750f6748f083196e06c31.zip
Add more tests of tan.
This patch adds some randomly-generated tests of tan 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 tan.
	* math/auto-libm-test-out: Regenerated.
	* sysdeps/i386/fpu/libm-test-ulps: Update.
	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'sysdeps/x86_64/fpu/libm-test-ulps')
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 7fd3a3c591..0cb22a42fe 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -1952,6 +1952,8 @@ ildouble: 5
 ldouble: 5
 
 Function: "tan":
+float: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1
 
@@ -1960,16 +1962,16 @@ double: 1
 float: 2
 idouble: 1
 ifloat: 2
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "tan_towardzero":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "tan_upward":
 double: 1