This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.17-819-g1a84631


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  1a8463176c3edf52c38af022ce44e210f9bf4aaa (commit)
      from  3711a167f6b5203b4414db7853f3c57f1260e1bf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1a8463176c3edf52c38af022ce44e210f9bf4aaa

commit 1a8463176c3edf52c38af022ce44e210f9bf4aaa
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Jun 17 11:48:11 2013 +0000

    Use math-tests.h more in math/test-misc.

diff --git a/ChangeLog b/ChangeLog
index af0d243..e7291a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-17  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/test-misc.c (main): Do not treat incorrectly rounded
+	conversions as failure unless ROUNDING_TESTS passes.
+
 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #15631]
diff --git a/math/test-misc.c b/math/test-misc.c
index 94c7c15..390415a 100644
--- a/math/test-misc.c
+++ b/math/test-misc.c
@@ -1306,7 +1306,11 @@ main (void)
 	    {
 	      printf ("%La incorrectly rounded to %s as %a\n",
 		      ld5 * i, mstr, d5);
-	      result = 1;
+	      if (ROUNDING_TESTS (long double, mode)
+		  && ROUNDING_TESTS (double, mode))
+		result = 1;
+	      else
+		puts ("ignoring this failure");
 	    }
 	}
     }
@@ -1322,7 +1326,11 @@ main (void)
   if (d7 != nextafter (0.0, 1.0))
     {
       printf ("%La incorrectly rounded upward to %a\n", ld7, d7);
-      result = 1;
+      if (ROUNDING_TESTS (long double, FE_UPWARD)
+	  && ROUNDING_TESTS (double, FE_UPWARD))
+	result = 1;
+      else
+	puts ("ignoring this failure");
     }
 #endif
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    5 +++++
 math/test-misc.c |   12 ++++++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]