This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Remove sqrt ulps for MIPS
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-ports at sourceware dot org
- Date: Thu, 31 May 2012 21:31:06 +0000 (UTC)
- Subject: Remove sqrt ulps for MIPS
Now that M_SQRT2l has been adjusted so it rounds to 113 bits to the same
value as the exact square root of 2 does, I've applied this patch to the
MIPS libm-test-ulps to remove ulps for sqrt. The same should be done for
alpha (and in libc, sparc and s390). If you find ulps for sqrt appearing
when you regenerate ulps, they should be investigated further since sqrt
is meant always to give a correctly rounded result.
diff --git a/ChangeLog.mips b/ChangeLog.mips
index 54e1f26..f72dc4e 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,5 +1,7 @@
2012-05-31 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps.
+
* sysdeps/mips/mips32/libm-test-ulps: Regenerate.
* sysdeps/mips/mips64/libm-test-ulps: Likewise.
diff --git a/sysdeps/mips/mips64/libm-test-ulps b/sysdeps/mips/mips64/libm-test-ulps
index c21b077..bc9464e 100644
--- a/sysdeps/mips/mips64/libm-test-ulps
+++ b/sysdeps/mips/mips64/libm-test-ulps
@@ -1932,11 +1932,6 @@ Test "sinh_towardzero (24) == 13244561064.92173614705070540368454568168":
float: 1
ifloat: 1
-# sqrt
-Test "sqrt (2) == M_SQRT2l":
-ildouble: 1
-ldouble: 1
-
# tan_downward
Test "tan_downward (1) == 1.5574077246549022305069748074583601730873":
float: 1
@@ -2680,10 +2675,6 @@ Function: "sinh_towardzero":
float: 1
ifloat: 1
-Function: "sqrt":
-ildouble: 1
-ldouble: 1
-
Function: "tan":
double: 1
idouble: 1
--
Joseph S. Myers
joseph@codesourcery.com