aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-04-09 22:14:00 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-04-09 22:14:34 +0000
commitb3c66c534f8a9dbee44aa4983814fc52008f0323 (patch)
treee895281a6bb480a12c681bce96572aa9bdffce4a /sysdeps/x86_64
parent8a257e2cb50cd8e8e3e2368d80bf325ea4086cf9 (diff)
downloadglibc-b3c66c534f8a9dbee44aa4983814fc52008f0323.tar
glibc-b3c66c534f8a9dbee44aa4983814fc52008f0323.tar.gz
glibc-b3c66c534f8a9dbee44aa4983814fc52008f0323.tar.bz2
glibc-b3c66c534f8a9dbee44aa4983814fc52008f0323.zip
Add more tests of clog and clog10.
This patch adds some randomly-generated tests of clog and clog10 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 clog and clog10. * 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')
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps120
1 files changed, 60 insertions, 60 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 5d9bc9b075..bbb6abc505 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -818,12 +818,12 @@ ildouble: 1
ldouble: 1
Function: Real part of "clog":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+ildouble: 3
+ldouble: 3
Function: Imaginary part of "clog":
float: 1
@@ -832,76 +832,76 @@ ildouble: 1
ldouble: 1
Function: Real part of "clog10":
-double: 2
+double: 3
float: 2
-idouble: 2
+idouble: 3
ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 4
+ldouble: 4
Function: Imaginary part of "clog10":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
ildouble: 2
ldouble: 2
Function: Real part of "clog10_downward":
-double: 3
-float: 3
-idouble: 3
-ifloat: 3
-ildouble: 4
-ldouble: 4
+double: 6
+float: 5
+idouble: 6
+ifloat: 5
+ildouble: 7
+ldouble: 7
Function: Imaginary part of "clog10_downward":
-double: 1
-float: 2
-idouble: 1
-ifloat: 2
+double: 2
+float: 3
+idouble: 2
+ifloat: 3
ildouble: 2
ldouble: 2
Function: Real part of "clog10_towardzero":
-double: 3
-float: 2
-idouble: 3
-ifloat: 2
-ildouble: 4
-ldouble: 4
+double: 4
+float: 3
+idouble: 4
+ifloat: 3
+ildouble: 7
+ldouble: 7
Function: Imaginary part of "clog10_towardzero":
-double: 1
-float: 2
-idouble: 1
-ifloat: 2
+double: 2
+float: 4
+idouble: 2
+ifloat: 4
ildouble: 2
ldouble: 2
Function: Real part of "clog10_upward":
-double: 4
-float: 3
-idouble: 4
-ifloat: 3
-ildouble: 4
-ldouble: 4
+double: 6
+float: 5
+idouble: 6
+ifloat: 5
+ildouble: 6
+ldouble: 6
Function: Imaginary part of "clog10_upward":
-double: 1
+double: 2
float: 3
-idouble: 1
+idouble: 2
ifloat: 3
ildouble: 2
ldouble: 2
Function: Real part of "clog_downward":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
-ildouble: 2
-ldouble: 2
+double: 4
+float: 5
+idouble: 4
+ifloat: 5
+ildouble: 5
+ldouble: 5
Function: Imaginary part of "clog_downward":
double: 1
@@ -912,12 +912,12 @@ ildouble: 1
ldouble: 1
Function: Real part of "clog_towardzero":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
-ildouble: 2
-ldouble: 2
+double: 7
+float: 5
+idouble: 7
+ifloat: 5
+ildouble: 5
+ldouble: 5
Function: Imaginary part of "clog_towardzero":
double: 1
@@ -928,12 +928,12 @@ ildouble: 1
ldouble: 1
Function: Real part of "clog_upward":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
-ildouble: 2
-ldouble: 2
+double: 5
+float: 5
+idouble: 5
+ifloat: 5
+ildouble: 6
+ldouble: 6
Function: Imaginary part of "clog_upward":
double: 1