diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-05-08 17:55:11 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-05-08 17:55:11 +0000 |
commit | 14f36098f219a17c8fa21578a5bf1a23c74d28bb (patch) | |
tree | fdafbd542ab6a2873668fee12d5eac940421e62b /sysdeps | |
parent | c92d40c0bcfdeec96848d1e67902e621942144e9 (diff) | |
download | glibc-14f36098f219a17c8fa21578a5bf1a23c74d28bb.tar.gz glibc-14f36098f219a17c8fa21578a5bf1a23c74d28bb.tar.xz glibc-14f36098f219a17c8fa21578a5bf1a23c74d28bb.zip |
Add more tests of csqrt, lgamma, log10, sinh.
This patch adds more randomly-generated tests of various libm functions 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, lgamma, log10 and sinh. * 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 | 20 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/libm-test-ulps | 28 |
2 files changed, 24 insertions, 24 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 67912eff2d..3716a55031 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -1144,8 +1144,8 @@ double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 4 -ldouble: 4 +ildouble: 5 +ldouble: 5 Function: Imaginary part of "csqrt_upward": double: 1 @@ -1446,16 +1446,16 @@ double: 2 float: 2 idouble: 2 ifloat: 2 -ildouble: 5 -ldouble: 5 +ildouble: 6 +ldouble: 6 Function: "gamma_towardzero": double: 2 float: 2 idouble: 2 ifloat: 2 -ildouble: 5 -ldouble: 5 +ildouble: 6 +ldouble: 6 Function: "gamma_upward": double: 2 @@ -1572,16 +1572,16 @@ double: 2 float: 2 idouble: 2 ifloat: 2 -ildouble: 5 -ldouble: 5 +ildouble: 6 +ldouble: 6 Function: "lgamma_towardzero": double: 2 float: 2 idouble: 2 ifloat: 2 -ildouble: 5 -ldouble: 5 +ildouble: 6 +ldouble: 6 Function: "lgamma_upward": double: 2 diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps index c29ec2cd9f..e60cc1b5f3 100644 --- a/sysdeps/x86_64/fpu/libm-test-ulps +++ b/sysdeps/x86_64/fpu/libm-test-ulps @@ -1228,8 +1228,8 @@ double: 5 float: 4 idouble: 5 ifloat: 4 -ildouble: 4 -ldouble: 4 +ildouble: 5 +ldouble: 5 Function: Imaginary part of "csqrt_upward": double: 3 @@ -1560,16 +1560,16 @@ double: 4 float: 3 idouble: 4 ifloat: 3 -ildouble: 5 -ldouble: 5 +ildouble: 6 +ldouble: 6 Function: "gamma_towardzero": double: 4 float: 3 idouble: 4 ifloat: 3 -ildouble: 5 -ldouble: 5 +ildouble: 6 +ldouble: 6 Function: "gamma_upward": double: 4 @@ -1688,16 +1688,16 @@ double: 4 float: 3 idouble: 4 ifloat: 3 -ildouble: 5 -ldouble: 5 +ildouble: 6 +ldouble: 6 Function: "lgamma_towardzero": double: 4 float: 3 idouble: 4 ifloat: 3 -ildouble: 5 -ldouble: 5 +ildouble: 6 +ldouble: 6 Function: "lgamma_upward": double: 4 @@ -1723,9 +1723,9 @@ ldouble: 1 Function: "log10_downward": double: 2 -float: 2 +float: 3 idouble: 2 -ifloat: 2 +ifloat: 3 ildouble: 2 ldouble: 2 @@ -1932,9 +1932,9 @@ ildouble: 3 ldouble: 3 Function: "sinh": -double: 1 +double: 2 float: 2 -idouble: 1 +idouble: 2 ifloat: 2 ildouble: 2 ldouble: 2 |