about summary refs log tree commit diff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-06-15 11:27:51 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-06-15 11:27:51 +0000
commit10285c21134b280457094a6acaa9341862bc65ef (patch)
tree66569a906f5b11ca2d9bcb5f15c8f6d48e4019a5 /math/libm-test.inc
parent06c5abbdf81660d1ca99a3b4467f91fb9bca84dd (diff)
downloadglibc-10285c21134b280457094a6acaa9341862bc65ef.tar.gz
glibc-10285c21134b280457094a6acaa9341862bc65ef.tar.xz
glibc-10285c21134b280457094a6acaa9341862bc65ef.zip
Fix pow (0.0, -Inf) (bug 14241).
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc2
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.  */