aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc
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 /sysdeps/sparc
parent24d4e01b22c96a116c7878b701ea65aa5c7980c2 (diff)
downloadglibc-430d6ce62a22760f56d5dea0dcccd30413a45fc2.zip
glibc-430d6ce62a22760f56d5dea0dcccd30413a45fc2.tar.gz
glibc-430d6ce62a22760f56d5dea0dcccd30413a45fc2.tar.bz2
Update sparc ULPs for recently added math tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/fpu/libm-test-ulps12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/sparc/fpu/libm-test-ulps b/sysdeps/sparc/fpu/libm-test-ulps
index 74af9d5..b7dc3b4 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