Use M_PI_34l consistently in libm-test.inc.

This commit is contained in:
Joseph Myers 2013-05-09 14:13:10 +00:00
parent faa7f8119f
commit 24f5606614
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2013-05-09 Joseph Myers <joseph@codesourcery.com>
* 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.

View File

@ -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);