diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-05-09 14:13:10 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-05-09 14:13:10 +0000 |
commit | 24f5606614cb8b7c4dad930ee7871071dc26299f (patch) | |
tree | 93d382e42e7c6a7c37d999bb0bc46986cf0a97e4 | |
parent | faa7f8119fd7137362e2aa8c8d185b4cf9a45166 (diff) | |
download | glibc-24f5606614cb8b7c4dad930ee7871071dc26299f.zip glibc-24f5606614cb8b7c4dad930ee7871071dc26299f.tar.gz glibc-24f5606614cb8b7c4dad930ee7871071dc26299f.tar.bz2 |
Use M_PI_34l consistently in libm-test.inc.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | math/libm-test.inc | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -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. diff --git a/math/libm-test.inc b/math/libm-test.inc index 9b47ab3..8845054 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); |