From dee4a4e3d0e8b9df6b35ef53e46b9346ee713af0 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Tue, 8 May 2012 10:58:01 -0700 Subject: With -frounding-math, some sparc ULPs need to be adjusted. * sysdeps/sparc/fpu/libm-test-ulps: Update. --- sysdeps/sparc/fpu/libm-test-ulps | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'sysdeps/sparc/fpu/libm-test-ulps') 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 -- cgit v1.2.3