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/x86_64/fpu | |
parent | 094fca83eeaf8d7fc8478ea9fa8cdcb19e2df2de (diff) | |
download | glibc-9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4.tar.gz glibc-9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4.tar.xz glibc-9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4.zip |
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/x86_64/fpu')
-rw-r--r-- | sysdeps/x86_64/fpu/libm-test-ulps | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps index e943da123c..22dfe5f435 100644 --- a/sysdeps/x86_64/fpu/libm-test-ulps +++ b/sysdeps/x86_64/fpu/libm-test-ulps @@ -1176,12 +1176,12 @@ ildouble: 3 ldouble: 3 Function: Real part of "csqrt": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -ildouble: 1 -ldouble: 1 +double: 2 +float: 2 +idouble: 2 +ifloat: 2 +ildouble: 2 +ldouble: 2 Function: Imaginary part of "csqrt": double: 1 @@ -1192,6 +1192,14 @@ ildouble: 1 ldouble: 1 Function: Real part of "csqrt_downward": +double: 4 +float: 4 +idouble: 4 +ifloat: 4 +ildouble: 4 +ldouble: 4 + +Function: Imaginary part of "csqrt_downward": double: 3 float: 3 idouble: 3 @@ -1199,45 +1207,37 @@ ifloat: 3 ildouble: 3 ldouble: 3 -Function: Imaginary part of "csqrt_downward": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 -ildouble: 2 -ldouble: 2 - Function: Real part of "csqrt_towardzero": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 -ildouble: 2 -ldouble: 2 +double: 3 +float: 3 +idouble: 3 +ifloat: 3 +ildouble: 3 +ldouble: 3 Function: Imaginary part of "csqrt_towardzero": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 -ildouble: 2 -ldouble: 2 - -Function: Real part of "csqrt_upward": double: 3 -float: 2 +float: 3 idouble: 3 -ifloat: 2 +ifloat: 3 ildouble: 3 ldouble: 3 +Function: Real part of "csqrt_upward": +double: 4 +float: 4 +idouble: 4 +ifloat: 4 +ildouble: 4 +ldouble: 4 + Function: Imaginary part of "csqrt_upward": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 -ildouble: 2 -ldouble: 2 +double: 3 +float: 3 +idouble: 3 +ifloat: 3 +ildouble: 3 +ldouble: 3 Function: Real part of "ctan": double: 1 |