diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-06-15 11:27:51 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-06-15 11:27:51 +0000 |
commit | 10285c21134b280457094a6acaa9341862bc65ef (patch) | |
tree | 66569a906f5b11ca2d9bcb5f15c8f6d48e4019a5 /math | |
parent | 06c5abbdf81660d1ca99a3b4467f91fb9bca84dd (diff) | |
download | glibc-10285c21134b280457094a6acaa9341862bc65ef.tar.gz glibc-10285c21134b280457094a6acaa9341862bc65ef.tar.xz glibc-10285c21134b280457094a6acaa9341862bc65ef.zip |
Fix pow (0.0, -Inf) (bug 14241).
Diffstat (limited to 'math')
-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 d32dde34a5..8e4d02e76a 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -6290,6 +6290,8 @@ pow_test (void) TEST_ff_f (pow, minus_zero, 11.1L, 0); TEST_ff_f (pow, 0, plus_infty, 0); TEST_ff_f (pow, minus_zero, plus_infty, 0); + TEST_ff_f (pow, 0, minus_infty, plus_infty, DIVIDE_BY_ZERO_EXCEPTION_OK); + TEST_ff_f (pow, minus_zero, minus_infty, plus_infty, DIVIDE_BY_ZERO_EXCEPTION_OK); #ifndef TEST_INLINE /* pow (x, +inf) == +inf for |x| > 1. */ |