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-04-08 21:00:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-04-08 21:00:03 +0000
commit024bcc5106a48307e2efc42ab85b3bbec6958163 (patch)
treece78f031df3a8ab780600517f26692a875131896 /sysdeps/x86_64/fpu/libm-test-ulps
parent561052ad35d7004a6f69c772a6a2a106e436f950 (diff)
downloadglibc-024bcc5106a48307e2efc42ab85b3bbec6958163.tar.gz
glibc-024bcc5106a48307e2efc42ab85b3bbec6958163.tar.xz
glibc-024bcc5106a48307e2efc42ab85b3bbec6958163.zip
Add more tests of atan.
This patch adds some randomly-generated tests of atan 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 atan.
	* 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, 8 insertions, 2 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index deac26fe82..33e597a956 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -125,6 +125,12 @@ ifloat: 3
 ildouble: 4
 ldouble: 4
 
+Function: "atan":
+float: 1
+ifloat: 1
+ildouble: 1
+ldouble: 1
+
 Function: "atan2":
 float: 1
 ifloat: 1
@@ -173,9 +179,9 @@ ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 1
+float: 2
 idouble: 1
-ifloat: 1
+ifloat: 2
 ildouble: 1
 ldouble: 1