From 24f5606614cb8b7c4dad930ee7871071dc26299f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 9 May 2013 14:13:10 +0000 Subject: [PATCH] Use M_PI_34l consistently in libm-test.inc. --- ChangeLog | 3 +++ math/libm-test.inc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 304164491d..946d093c16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2013-05-09 Joseph Myers + * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 * + M_PI_4l. + * math/libm-test.inc (M_PI_34l): Define using decimal constant. (M_PI_34_LOG10El): Likewise. (M_PI2_LOG10El): Likewise. diff --git a/math/libm-test.inc b/math/libm-test.inc index 9b47ab3502..8845054d19 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -3031,9 +3031,9 @@ carg_test (void) TEST_c_f (carg, plus_infty, minus_infty, -M_PI_4l); - TEST_c_f (carg, minus_infty, plus_infty, 3 * M_PI_4l); + TEST_c_f (carg, minus_infty, plus_infty, M_PI_34l); - TEST_c_f (carg, minus_infty, minus_infty, -3 * M_PI_4l); + TEST_c_f (carg, minus_infty, minus_infty, -M_PI_34l); TEST_c_f (carg, qnan_value, qnan_value, qnan_value);