diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-03-19 20:11:09 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-03-19 20:11:09 +0000 |
commit | 7726d6a95d5a2c08c8d43186002f040b9b889c27 (patch) | |
tree | a26c3837e5c05db789f8dfb66cd144791469baeb /math/libm-test.inc | |
parent | 83d1aec8fc5f4250e6d5f44eeef30c923e140ca4 (diff) | |
download | glibc-7726d6a95d5a2c08c8d43186002f040b9b889c27.tar.gz glibc-7726d6a95d5a2c08c8d43186002f040b9b889c27.tar.xz glibc-7726d6a95d5a2c08c8d43186002f040b9b889c27.zip |
Fix atan2 spurious exceptions (bug 11451).
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r-- | math/libm-test.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 5638b76869..817864aeb2 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -949,6 +949,8 @@ atan2_test (void) TEST_ff_f (atan2, minus_infty, minus_infty, -M_PI_34l); TEST_ff_f (atan2, nan_value, nan_value, nan_value); + TEST_ff_f (atan2, max_value, max_value, M_PI_4l); + TEST_ff_f (atan2, 0.75L, 1, 0.643501108793284386802809228717322638L); TEST_ff_f (atan2, -0.75L, 1.0L, -0.643501108793284386802809228717322638L); TEST_ff_f (atan2, 0.75L, -1.0L, 2.49809154479650885165983415456218025L); |