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-597-gc31a5b1


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  c31a5b1e8fecc794c4d0746a5a5af6db203005ea (commit)
      from  d5dc2af39081cb7035d6d672d458a369307be5f1 (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=c31a5b1e8fecc794c4d0746a5a5af6db203005ea

commit c31a5b1e8fecc794c4d0746a5a5af6db203005ea
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri May 3 19:05:37 2013 +0000

    Consistently use TEST_f_f1 in lgamma tests.

diff --git a/ChangeLog b/ChangeLog
index ad28e91..ed888db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
+	test signgam value.
+
 	* math/libm-test.inc (hypot_test): Do not use
 	IGNORE_ZERO_INF_SIGN.
 
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 343590a..7597547 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -9644,18 +9644,16 @@ lgamma_test (void)
 
   START (lgamma);
 
-  TEST_f_f (lgamma, plus_infty, plus_infty);
-  TEST_f_f (lgamma, 0, plus_infty, DIVIDE_BY_ZERO_EXCEPTION);
-  check_int ("signgam for lgamma(0) == 1", signgam, 1, 0, 0, 0);
-  TEST_f_f (lgamma, minus_zero, plus_infty, DIVIDE_BY_ZERO_EXCEPTION);
-  check_int ("signgam for lgamma(-0) == -1", signgam, -1, 0, 0, 0);
-  TEST_f_f (lgamma, qnan_value, qnan_value);
+  TEST_f_f1 (lgamma, plus_infty, plus_infty, 1);
+  TEST_f_f1 (lgamma, 0, plus_infty, 1, DIVIDE_BY_ZERO_EXCEPTION);
+  TEST_f_f1 (lgamma, minus_zero, plus_infty, -1, DIVIDE_BY_ZERO_EXCEPTION);
+  TEST_f_f1 (lgamma, qnan_value, qnan_value, IGNORE);
 
   /* lgamma (x) == +inf plus divide by zero exception for integer x <= 0.  */
-  TEST_f_f (lgamma, -3, plus_infty, DIVIDE_BY_ZERO_EXCEPTION|ERRNO_ERANGE);
-  TEST_f_f (lgamma, minus_infty, plus_infty);
-  TEST_f_f (lgamma, -max_value, plus_infty, DIVIDE_BY_ZERO_EXCEPTION);
-  TEST_f_f (lgamma, max_value, plus_infty, OVERFLOW_EXCEPTION);
+  TEST_f_f1 (lgamma, -3, plus_infty, IGNORE, DIVIDE_BY_ZERO_EXCEPTION|ERRNO_ERANGE);
+  TEST_f_f1 (lgamma, minus_infty, plus_infty, IGNORE);
+  TEST_f_f1 (lgamma, -max_value, plus_infty, IGNORE, DIVIDE_BY_ZERO_EXCEPTION);
+  TEST_f_f1 (lgamma, max_value, plus_infty, 1, OVERFLOW_EXCEPTION);
 
   TEST_f_f1 (lgamma, 1, 0, 1);
 

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

Summary of changes:
 ChangeLog          |    3 +++
 math/libm-test.inc |   18 ++++++++----------
 2 files changed, 11 insertions(+), 10 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]