From: David S. Miller Date: Tue, 8 May 2012 17:58:01 +0000 (-0700) Subject: With -frounding-math, some sparc ULPs need to be adjusted. X-Git-Tag: glibc-2.16-tps~446 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dee4a4e3d0e8b9df6b35ef53e46b9346ee713af0;p=thirdparty%2Fglibc.git With -frounding-math, some sparc ULPs need to be adjusted. * sysdeps/sparc/fpu/libm-test-ulps: Update. --- diff --git a/ChangeLog b/ChangeLog index 7f16a841f11..7521d259a93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-05-08 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + 2012-05-08 Carlos O'Donell * 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 b61d561012b..c9030879d5c 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