about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-08 10:58:01 -0700
committerDavid S. Miller <davem@davemloft.net>2012-05-08 10:58:01 -0700
commitdee4a4e3d0e8b9df6b35ef53e46b9346ee713af0 (patch)
tree70d5675dc6288847e589aba3872f5d0efa14b990
parent6a43ec980c5a0500149ef37d4854eac0e270da6f (diff)
downloadglibc-dee4a4e3d0e8b9df6b35ef53e46b9346ee713af0.tar.gz
glibc-dee4a4e3d0e8b9df6b35ef53e46b9346ee713af0.tar.xz
glibc-dee4a4e3d0e8b9df6b35ef53e46b9346ee713af0.zip
With -frounding-math, some sparc ULPs need to be adjusted.
	* sysdeps/sparc/fpu/libm-test-ulps: Update.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/sparc/fpu/libm-test-ulps33
2 files changed, 37 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f16a841f1..7521d259a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-08  David S. Miller  <davem@davemloft.net>
+
+	* sysdeps/sparc/fpu/libm-test-ulps: Update.
+
 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
 
 	* config.h.in: Add HAVE_ARM_PCS_VFP.
diff --git a/sysdeps/sparc/fpu/libm-test-ulps b/sysdeps/sparc/fpu/libm-test-ulps
index b61d561012..c9030879d5 100644
--- a/sysdeps/sparc/fpu/libm-test-ulps
+++ b/sysdeps/sparc/fpu/libm-test-ulps
@@ -1,9 +1,18 @@
 # Begin of automatic generation
 
 # acos_downward
+Test "acos_downward (-0) == pi/2":
+float: 1
+ifloat: 1
 Test "acos_downward (-0.5) == M_PI_6l*4.0":
 double: 1
 idouble: 1
+Test "acos_downward (-1) == pi":
+float: 1
+ifloat: 1
+Test "acos_downward (0) == pi/2":
+float: 1
+ifloat: 1
 Test "acos_downward (0.5) == M_PI_6l*2.0":
 double: 1
 float: 1
@@ -13,9 +22,18 @@ ildouble: 1
 ldouble: 1
 
 # acos_towardzero
+Test "acos_towardzero (-0) == pi/2":
+float: 1
+ifloat: 1
 Test "acos_towardzero (-0.5) == M_PI_6l*4.0":
 double: 1
 idouble: 1
+Test "acos_towardzero (-1) == pi":
+float: 1
+ifloat: 1
+Test "acos_towardzero (0) == pi/2":
+float: 1
+ifloat: 1
 Test "acos_towardzero (0.5) == M_PI_6l*2.0":
 double: 1
 float: 1
@@ -24,6 +42,17 @@ ifloat: 1
 ildouble: 1
 ldouble: 1
 
+# acos_upward
+Test "acos_upward (-0) == pi/2":
+ildouble: 1
+ldouble: 1
+Test "acos_upward (-1) == pi":
+ildouble: 1
+ldouble: 1
+Test "acos_upward (0) == pi/2":
+ildouble: 1
+ldouble: 1
+
 # asin_downward
 Test "asin_downward (-0.5) == -pi/6":
 double: 1
@@ -2110,6 +2139,10 @@ ifloat: 1
 ildouble: 1
 ldouble: 1
 
+Function: "acos_upward":
+ildouble: 1
+ldouble: 1
+
 Function: "asin_downward":
 double: 1
 float: 1