diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-05-05 22:59:41 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-05-05 22:59:41 +0000 |
commit | 31450d9a87e5bb4d887127ad72b908b4f52bd522 (patch) | |
tree | 2e164fa8bead9b053a55ff8ed34cef23658ad206 /sysdeps/i386/fpu/libm-test-ulps | |
parent | a6ab6ccda3c3aeb741bff7a18fb737e5b7233a49 (diff) | |
download | glibc-31450d9a87e5bb4d887127ad72b908b4f52bd522.tar.gz glibc-31450d9a87e5bb4d887127ad72b908b4f52bd522.tar.xz glibc-31450d9a87e5bb4d887127ad72b908b4f52bd522.zip |
Add further tests of libm functions.
This patch adds more randomly-generated tests of various libm functions that are observed to increase ulps on x86_64. (This process must eventually converge, when my random test generation stops finding inputs that increase the listed ulps, except maybe for any cases uncovered where the errors exceed the maximum allowed 9ulp error and so indicate actual libm bugs needing fixing.) Tested for x86_64 and x86 and ulps updated accordingly. * math/auto-libm-test-in: Add more tests of acosh, atanh, clog, clog10, csqrt, erfc, exp2, expm1, log10, log2 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/i386/fpu/libm-test-ulps')
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 29930c3743..002f09a859 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -157,7 +157,7 @@ Function: "atanh_upward": idouble: 1 ifloat: 1 ildouble: 5 -ldouble: 4 +ldouble: 5 Function: "cabs": ildouble: 1 @@ -742,12 +742,12 @@ ildouble: 1 ldouble: 1 Function: Real part of "clog": -double: 2 +double: 3 float: 2 -idouble: 2 +idouble: 3 ifloat: 2 -ildouble: 3 -ldouble: 3 +ildouble: 4 +ldouble: 4 Function: Imaginary part of "clog": double: 1 @@ -770,12 +770,12 @@ ildouble: 2 ldouble: 2 Function: Real part of "clog10_downward": -double: 4 +double: 5 float: 4 -idouble: 4 +idouble: 5 ifloat: 4 -ildouble: 7 -ldouble: 7 +ildouble: 8 +ldouble: 8 Function: Imaginary part of "clog10_downward": double: 1 @@ -786,12 +786,12 @@ ildouble: 2 ldouble: 2 Function: Real part of "clog10_towardzero": -double: 4 +double: 5 float: 4 -idouble: 4 +idouble: 5 ifloat: 4 -ildouble: 7 -ldouble: 7 +ildouble: 8 +ldouble: 8 Function: Imaginary part of "clog10_towardzero": double: 1 @@ -802,10 +802,10 @@ ildouble: 3 ldouble: 3 Function: Real part of "clog10_upward": -double: 4 -float: 4 -idouble: 4 -ifloat: 4 +double: 5 +float: 5 +idouble: 5 +ifloat: 5 ildouble: 6 ldouble: 6 @@ -818,12 +818,12 @@ ildouble: 3 ldouble: 3 Function: Real part of "clog_downward": -double: 4 +double: 5 float: 5 -idouble: 4 +idouble: 5 ifloat: 5 -ildouble: 5 -ldouble: 5 +ildouble: 7 +ldouble: 7 Function: Imaginary part of "clog_downward": double: 1 @@ -834,12 +834,12 @@ ildouble: 1 ldouble: 1 Function: Real part of "clog_towardzero": -double: 4 +double: 5 float: 5 -idouble: 4 +idouble: 5 ifloat: 5 -ildouble: 5 -ldouble: 5 +ildouble: 8 +ldouble: 8 Function: Imaginary part of "clog_towardzero": double: 1 @@ -1108,8 +1108,8 @@ ildouble: 2 ldouble: 2 Function: Imaginary part of "csqrt": -ildouble: 1 -ldouble: 1 +ildouble: 2 +ldouble: 2 Function: Real part of "csqrt_downward": double: 1 @@ -1128,8 +1128,8 @@ ldouble: 3 Function: Real part of "csqrt_towardzero": double: 1 idouble: 1 -ildouble: 3 -ldouble: 3 +ildouble: 4 +ldouble: 4 Function: Imaginary part of "csqrt_towardzero": double: 1 @@ -1422,8 +1422,8 @@ double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 3 -ldouble: 3 +ildouble: 4 +ldouble: 4 Function: "expm1_upward": double: 1 |