Resort ULPs files with gen-libm-test.pl -n in C locale.

This commit is contained in:
Joseph Myers 2012-02-20 18:06:05 +00:00
parent 06b99b0263
commit 5ad91f6e6f
6 changed files with 45 additions and 38 deletions

View File

@ -1,3 +1,12 @@
2012-02-20 Joseph Myers <joseph@codesourcery.com>
* sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
in C locale.
* sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
* sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.

View File

@ -617,6 +617,13 @@ double: 2
idouble: 2
ildouble: 1
ldouble: 1
Test "jn (2, 2.4048255576957729) == 0.43175480701968038399746111312430703":
double: 1
float: 1
idouble: 1
ifloat: 1
ildouble: 1
ldouble: 1
Test "jn (3, -1.0) == -0.0195633539826684059189053216217515083":
ildouble: 1
ldouble: 1
@ -640,50 +647,43 @@ double: 1
idouble: 1
ildouble: 1
ldouble: 1
Test "jn (2, 2.4048255576957729) == 0.43175480701968038399746111312430703":
float: 1
ifloat: 1
double: 1
idouble: 1
ldouble: 1
ildouble: 1
Test "jn (3, 2.4048255576957729) == 0.19899990535769083404042146764530813":
ldouble: 1
ildouble: 1
ldouble: 1
Test "jn (4, 2.4048255576957729) == 0.647466661641779720084932282551219891E-1":
ldouble: 2
ildouble: 2
Test: "jn (5, 2.4048255576957729) == 0.163892432048058525099230549946147698E-1":
ldouble: 2
Test "jn (5, 2.4048255576957729) == 0.163892432048058525099230549946147698E-1":
double: 1
float: 1
idouble: 1
ifloat: 1
double: 1
idouble: 1
ldouble: 3
ildouble: 3
ldouble: 3
Test "jn (6, 2.4048255576957729) == 0.34048184720278336646673682895929161E-2":
float: 2
ifloat: 2
double: 1
float: 2
idouble: 1
ldouble: 1
ifloat: 2
ildouble: 1
ldouble: 1
Test "jn (7, 2.4048255576957729) == 0.60068836573295394221291569249883076E-3":
double: 1
float: 2
idouble: 1
ifloat: 2
double: 1
idouble: 1
Test "jn (8, 2.4048255576957729) == 0.92165786705344923232879022467054148E-4":
float: 3
ifloat: 3
double: 1
float: 3
idouble: 1
ldouble: 2
ifloat: 3
ildouble: 2
ldouble: 2
Test "jn (9, 2.4048255576957729) == 0.12517270977961513005428966643852564E-4":
float: 4
ifloat: 4
ldouble: 2
ildouble: 2
ldouble: 2
# lgamma
Test "lgamma (-0.5) == log(2*sqrt(pi))":

View File

@ -296,6 +296,9 @@ ildouble: 1
ldouble: 1
# cos
Test "cos (16.0) == -0.9576594803233846418996372326511034717803":
ildouble: 2
ldouble: 2
Test "cos (M_PI_6l * 2.0) == 0.5":
double: 1
float: 1
@ -311,9 +314,6 @@ double: 1
float: 1
idouble: 1
ifloat: 1
Test "cos (16.0) == -0.9576594803233846418996372326511034717803"
ildouble: 2
ldouble: 2
# cpow
Test "Real part of: cpow (0.75 + 1.25 i, 0.0 + 1.0 i) == 0.331825439177608832276067945276730566 + 0.131338600281188544930936345230903032 i":
@ -735,7 +735,7 @@ ildouble: 1
ldouble: 1
# sin
Test "sin (16.0) == -0.2879033166650652947844562482186175296207"
Test "sin (16.0) == -0.2879033166650652947844562482186175296207":
ildouble: 2
ldouble: 2
@ -919,9 +919,6 @@ idouble: 1
ifloat: 2
ildouble: 2
ldouble: 2
Test "yn (3, 0.125) == -2612.69757350066712600220955744091741":
double: 1
idouble: 1
Test "yn (10, 0.125) == -127057845771019398.252538486899753195":
double: 1
idouble: 1

View File

@ -14,10 +14,10 @@ idouble: 1
ifloat: 2
# atan2
Test "atan2 (0.7, -1.0) == 2.530866689200584621918884506789267":
Test "atan2 (-0.7, -1.0) == -2.530866689200584621918884506789267":
float: 3
ifloat: 3
Test "atan2 (-0.7, -1.0) == -2.530866689200584621918884506789267":
Test "atan2 (0.7, -1.0) == 2.530866689200584621918884506789267":
float: 3
ifloat: 3
Test "atan2 (1.4, -0.93) == 2.1571487668237843754887415992772736":

View File

@ -1,6 +1,11 @@
# Begin of automatic generation
# atan2
Test "atan2 (-0.00756827042671106339, -.001792735857538728036) == -1.80338464113663849327153994379639112":
float: 6
ifloat: 6
ildouble: 1
ldouble: 1
Test "atan2 (-0.75, -1.0) == -2.49809154479650885165983415456218025":
float: 3
ifloat: 3
@ -16,11 +21,6 @@ float: 1
ifloat: 1
ildouble: 1
ldouble: 1
Test "atan2 (-0.00756827042671106339, -.001792735857538728036) == -1.80338464113663849327153994379639112":
float: 6
ifloat: 6
ildouble: 1
ldouble: 1
# atanh
Test "atanh (0.75) == 0.972955074527656652552676371721589865":

View File

@ -810,9 +810,10 @@ Test "sincos (pi/6, &sin_res, &cos_res) puts 0.866025403784438646763723170752936
float: 1
ifloat: 1
# sinh
Test "sinh (0x8p-32) == 1.86264514923095703232705808926175479e-9":
ldouble: 1
ildouble: 1
ldouble: 1
# tan
Test "tan (pi/4) == 1":
@ -1326,8 +1327,8 @@ ildouble: 1
ldouble: 1
Function: "sinh":
ldouble: 1
ildouble: 1
ldouble: 1
Function: "tan":
double: 1