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-607-g9ea3513


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  9ea3513c917e04ba6cb4a6ce0b9d455f566a1d3f (commit)
      from  5bf96de5ef97cd0d6c04445feec6b25e07d4d938 (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=9ea3513c917e04ba6cb4a6ce0b9d455f566a1d3f

commit 9ea3513c917e04ba6cb4a6ce0b9d455f566a1d3f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon May 6 20:23:40 2013 +0000

    Initialize x in frexp, modf, remqou tests.

diff --git a/ChangeLog b/ChangeLog
index ba02f56..50d9e9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/gen-libm-test.pl (parse_args): Initialize x before each
+	test of frexp, modf and remquo.
+
 	* math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
 	test signgam value.
 
diff --git a/math/gen-libm-test.pl b/math/gen-libm-test.pl
index a743797..2f93898 100755
--- a/math/gen-libm-test.pl
+++ b/math/gen-libm-test.pl
@@ -366,6 +366,7 @@ sub parse_args {
 
   # special treatment for some functions
   if ($args[0] eq 'frexp') {
+    $pre = "  x = 123456789;\n";
     if (defined $special[0] && $special[0] ne "IGNORE") {
       my ($str) = "$call sets x to $special[0]";
       $post = "  check_int (\"$str\", x, $special[0]";
@@ -379,12 +380,14 @@ sub parse_args {
       $post .= &new_test ($str, undef);
     }
   } elsif ($args[0] eq 'modf') {
+    $pre = "  x = 123.456789;\n";
     if (defined $special[0] && $special[0] ne "IGNORE") {
       my ($str) = "$call sets x to $special[0]";
       $post = "  check_float (\"$str\", x, $special[0]";
       $post .= &new_test ($str, undef);
     }
   } elsif ($args[0] eq 'remquo') {
+    $pre = "  x = 123456789;\n";
     if (defined $special[0] && $special[0] ne "IGNORE") {
       my ($str) = "$call sets x to $special[0]";
       $post = "  check_int (\"$str\", x, $special[0]";

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

Summary of changes:
 ChangeLog             |    3 +++
 math/gen-libm-test.pl |    3 +++
 2 files changed, 6 insertions(+), 0 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]