about summary refs log tree commit diff
path: root/sysdeps/sparc
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 /sysdeps/sparc
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.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/fpu/libm-test-ulps33
1 files changed, 33 insertions, 0 deletions
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