diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-04-08 21:00:03 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-04-08 21:00:03 +0000 |
commit | 024bcc5106a48307e2efc42ab85b3bbec6958163 (patch) | |
tree | ce78f031df3a8ab780600517f26692a875131896 /sysdeps | |
parent | 561052ad35d7004a6f69c772a6a2a106e436f950 (diff) | |
download | glibc-024bcc5106a48307e2efc42ab85b3bbec6958163.zip glibc-024bcc5106a48307e2efc42ab85b3bbec6958163.tar.gz glibc-024bcc5106a48307e2efc42ab85b3bbec6958163.tar.bz2 |
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')
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/libm-test-ulps | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 924abc9..e3554ed 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -77,6 +77,10 @@ ifloat: 1 ildouble: 5 ldouble: 4 +Function: "atan": +ildouble: 1 +ldouble: 1 + Function: "atan2": ildouble: 1 ldouble: 1 diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps index deac26f..33e597a 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 |