diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-04-30 22:51:29 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-04-30 22:51:29 +0000 |
commit | 9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4 (patch) | |
tree | 9d3262e6db04ee50171906ab26e326e4794596fb /sysdeps/i386 | |
parent | 094fca83eeaf8d7fc8478ea9fa8cdcb19e2df2de (diff) | |
download | glibc-9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4.zip glibc-9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4.tar.gz glibc-9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4.tar.bz2 |
Add more tests of csqrt.
This patch adds some randomly-generated tests of csqrt 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 csqrt.
* 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/i386')
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index cb93177..7692852 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -1104,8 +1104,8 @@ ldouble: 3 Function: Real part of "csqrt": double: 1 idouble: 1 -ildouble: 1 -ldouble: 1 +ildouble: 2 +ldouble: 2 Function: Imaginary part of "csqrt": ildouble: 1 @@ -1114,46 +1114,46 @@ ldouble: 1 Function: Real part of "csqrt_downward": double: 1 idouble: 1 -ildouble: 3 -ldouble: 3 +ildouble: 4 +ldouble: 4 Function: Imaginary part of "csqrt_downward": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 2 -ldouble: 2 +ildouble: 3 +ldouble: 3 Function: Real part of "csqrt_towardzero": double: 1 idouble: 1 -ildouble: 2 -ldouble: 2 +ildouble: 3 +ldouble: 3 Function: Imaginary part of "csqrt_towardzero": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 2 -ldouble: 2 +ildouble: 3 +ldouble: 3 Function: Real part of "csqrt_upward": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 3 -ldouble: 3 +ildouble: 4 +ldouble: 4 Function: Imaginary part of "csqrt_upward": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 2 -ldouble: 2 +ildouble: 3 +ldouble: 3 Function: Real part of "ctan": double: 1 |