public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* Remove sqrt ulps for MIPS
@ 2012-05-31 21:31 Joseph S. Myers
  0 siblings, 0 replies; only message in thread
From: Joseph S. Myers @ 2012-05-31 21:31 UTC (permalink / raw)
  To: libc-ports

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-31 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-31 21:31 Remove sqrt ulps for MIPS Joseph S. Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).