about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-09-05 17:54:52 -0700
committerDavid S. Miller <davem@davemloft.net>2012-09-05 17:54:52 -0700
commit430d6ce62a22760f56d5dea0dcccd30413a45fc2 (patch)
tree1605e92d170dd9c901835683dba5e759c3c022b8
parent24d4e01b22c96a116c7878b701ea65aa5c7980c2 (diff)
downloadglibc-430d6ce62a22760f56d5dea0dcccd30413a45fc2.tar.gz
glibc-430d6ce62a22760f56d5dea0dcccd30413a45fc2.tar.xz
glibc-430d6ce62a22760f56d5dea0dcccd30413a45fc2.zip
Update sparc ULPs for recently added math tests.
	* sysdeps/sparc/fpu/libm-test-ulps: Update.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/sparc/fpu/libm-test-ulps12
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bad2cba8d..3249500f46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-09-05  David S. Miller  <davem@davemloft.net>
+
+	* sysdeps/sparc/fpu/libm-test-ulps: Update.
+
 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
 
 	* malloc/arena.c: Fold copyright years.
diff --git a/sysdeps/sparc/fpu/libm-test-ulps b/sysdeps/sparc/fpu/libm-test-ulps
index 74af9d5717..b7dc3b4831 100644
--- a/sysdeps/sparc/fpu/libm-test-ulps
+++ b/sysdeps/sparc/fpu/libm-test-ulps
@@ -1187,6 +1187,12 @@ idouble: 1
 ifloat: 1
 
 # cos
+Test "cos (0x1p+120) == -9.25879022854837867303861764107414946730833e-01":
+float: 1
+ifloat: 1
+Test "cos (0x1p+127) == 7.81914638714960072263910298466369236613162e-01":
+float: 1
+ifloat: 1
 Test "cos (M_PI_6l * 2.0) == 0.5":
 double: 1
 idouble: 1
@@ -2490,6 +2496,12 @@ float: 1
 ifloat: 1
 
 # sincos
+Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+float: 1
+ifloat: 1
+Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+float: 1
+ifloat: 1
 Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
 double: 1
 idouble: 1