From 10285c21134b280457094a6acaa9341862bc65ef Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 15 Jun 2012 11:27:51 +0000 Subject: Fix pow (0.0, -Inf) (bug 14241). --- math/libm-test.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'math') diff --git a/math/libm-test.inc b/math/libm-test.inc index d32dde3..8e4d02e 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. */ -- cgit v1.1