about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps44
-rw-r--r--sysdeps/powerpc/fpu/libm-test-ulps11
-rw-r--r--sysdeps/sh/sh4/fpu/libm-test-ulps4
-rw-r--r--sysdeps/sparc/sparc32/fpu/libm-test-ulps10
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps5
6 files changed, 45 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog
index 3bcf550db5..5c3e98ca6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index cb73081d8b..83a68aff6c 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -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":
-float: 1
-ifloat: 1
+ldouble: 2
+Test "jn (5, 2.4048255576957729) == 0.163892432048058525099230549946147698E-1":
 double: 1
+float: 1
 idouble: 1
-ldouble: 3
+ifloat: 1
 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":
-float: 2
-ifloat: 2
 double: 1
+float: 2
 idouble: 1
+ifloat: 2
 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))":
diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps
index 602d09ce0f..589bae1227 100644
--- a/sysdeps/powerpc/fpu/libm-test-ulps
+++ b/sysdeps/powerpc/fpu/libm-test-ulps
@@ -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
diff --git a/sysdeps/sh/sh4/fpu/libm-test-ulps b/sysdeps/sh/sh4/fpu/libm-test-ulps
index 4831f4849b..eb17664c11 100644
--- a/sysdeps/sh/sh4/fpu/libm-test-ulps
+++ b/sysdeps/sh/sh4/fpu/libm-test-ulps
@@ -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":
diff --git a/sysdeps/sparc/sparc32/fpu/libm-test-ulps b/sysdeps/sparc/sparc32/fpu/libm-test-ulps
index 7e9bdcd377..d75c97db36 100644
--- a/sysdeps/sparc/sparc32/fpu/libm-test-ulps
+++ b/sysdeps/sparc/sparc32/fpu/libm-test-ulps
@@ -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":
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 2847f78a11..a2a82e62bb 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -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