From d91da4ce87cd571650f680c0d48d8d3441ec7d2f Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 3 Apr 2013 21:10:02 +0200 Subject: Remove unreachable code. The case of y == 0 is handled at the beginning of the function. --- sysdeps/ieee754/dbl-64/e_pow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdeps/ieee754') diff --git a/sysdeps/ieee754/dbl-64/e_pow.c b/sysdeps/ieee754/dbl-64/e_pow.c index f8962a7dce..44d6f62398 100644 --- a/sysdeps/ieee754/dbl-64/e_pow.c +++ b/sysdeps/ieee754/dbl-64/e_pow.c @@ -153,8 +153,7 @@ __ieee754_pow(double x, double y) { /* x>0 */ if (qx == 0x7ff00000) /* x= 2^-0x3ff */ - {if (y == 0) return NaNQ.x; - return (y>0)?x:0; } + return y > 0 ? x : 0; if (qy > 0x45f00000 && qy < 0x7ff00000) { if (x == 1.0) return 1.0; -- cgit 1.4.1