From: Joseph Myers Date: Wed, 29 Feb 2012 20:40:50 +0000 (+0000) Subject: Reduce large expected errors from libm tests on x86 and x86_64. X-Git-Tag: glibc-2.16-tps~912 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=5b8a4d4a09379dad120e2209730a628ad038e1bf;p=glibc.git Reduce large expected errors from libm tests on x86 and x86_64. --- diff --git a/ChangeLog b/ChangeLog index 5501ffb4c4..3d3f89034c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-29 Joseph Myers + + * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + 2012-02-29 Jeff Law * resolv/res_query.c (__libc_res_nquerydomain): Avoid diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 83a68aff6c..68e1fa9dd4 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -370,8 +370,8 @@ ifloat: 1 Test "Real part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i": double: 1 idouble: 1 -ildouble: 439 -ldouble: 439 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i": float: 1 ifloat: 1 @@ -390,13 +390,13 @@ ldouble: 3 # ctanh Test "Real part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i": -ildouble: 5 -ldouble: 5 +ildouble: 3 +ldouble: 3 Test "Imaginary part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i": float: 1 ifloat: 1 -ildouble: 25 -ldouble: 25 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: ctanh (0 + pi/4 i) == 0.0 + 1.0 i": float: 1 ifloat: 1 @@ -437,10 +437,6 @@ ldouble: 1 # exp Test "exp (0.75) == 2.11700001661267466854536981983709561": ildouble: 1 -Test "exp (1000.0) == 0.197007111401704699388887935224332313e435": -ildouble: 754 -Test "exp (50.0) == 5184705528587072464087.45332293348538": -ildouble: 16 # exp10 Test "exp10 (-1) == 0.1": @@ -942,10 +938,6 @@ idouble: 1 ifloat: 1 # Maximal error of functions: -Function: "acos": -ildouble: 622 -ldouble: 622 - Function: "asin": ildouble: 1 ldouble: 1 @@ -1096,8 +1088,8 @@ double: 1 float: 4 idouble: 1 ifloat: 4 -ildouble: 763 -ldouble: 763 +ildouble: 6 +ldouble: 6 Function: Imaginary part of "cpow": double: 2 @@ -1136,8 +1128,8 @@ ldouble: 2 Function: Real part of "ctan": double: 1 idouble: 1 -ildouble: 439 -ldouble: 439 +ildouble: 1 +ldouble: 1 Function: Imaginary part of "ctan": double: 1 @@ -1152,16 +1144,16 @@ double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 5 -ldouble: 5 +ildouble: 3 +ldouble: 3 Function: Imaginary part of "ctanh": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 25 -ldouble: 25 +ildouble: 1 +ldouble: 1 Function: "erf": double: 1 @@ -1175,9 +1167,6 @@ ifloat: 1 ildouble: 1 ldouble: 1 -Function: "exp": -ildouble: 754 - Function: "exp10": ildouble: 8 ldouble: 8 diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps index a2a82e62bb..1bd06d1909 100644 --- a/sysdeps/x86_64/fpu/libm-test-ulps +++ b/sysdeps/x86_64/fpu/libm-test-ulps @@ -420,8 +420,8 @@ ifloat: 1 Test "Real part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i": double: 1 idouble: 1 -ildouble: 439 -ldouble: 439 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i": float: 1 ifloat: 1 @@ -444,11 +444,11 @@ double: 1 float: 2 idouble: 1 ifloat: 2 -ildouble: 5 -ldouble: 5 +ildouble: 3 +ldouble: 3 Test "Imaginary part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i": -ildouble: 25 -ldouble: 25 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: ctanh (0 + pi/4 i) == 0.0 + 1.0 i": float: 1 ifloat: 1 @@ -1215,8 +1215,8 @@ ifloat: 1 Function: Real part of "ctan": double: 1 idouble: 1 -ildouble: 439 -ldouble: 439 +ildouble: 1 +ldouble: 1 Function: Imaginary part of "ctan": double: 1 @@ -1231,16 +1231,16 @@ double: 1 float: 2 idouble: 1 ifloat: 2 -ildouble: 5 -ldouble: 5 +ildouble: 3 +ldouble: 3 Function: Imaginary part of "ctanh": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 25 -ldouble: 25 +ildouble: 1 +ldouble: 1 Function: "erf": double: 1