diff options
Diffstat (limited to 'lib/libm/common_source/pow.c')
| -rw-r--r-- | lib/libm/common_source/pow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libm/common_source/pow.c b/lib/libm/common_source/pow.c index a10fcd7e71d2..fe665f023bc1 100644 --- a/lib/libm/common_source/pow.c +++ b/lib/libm/common_source/pow.c @@ -174,7 +174,7 @@ pow_P(x, y) double x, y; #endif { struct Double s, t, log__D(); - double exp__D(), huge = 1e300, tiny = 1e-300; + double exp__D(), tiny = 1e-300; if (x == zero) return ((y>zero)? x : one/x); @@ -184,7 +184,7 @@ pow_P(x, y) double x, y; if (x < 1) return(tiny*tiny); else if (_IEEE) - return (huge*huge); + return (HUGE_VAL*HUGE_VAL); else return (infnan(ERANGE)); |
