diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-03-21 11:51:17 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-03-21 23:59:22 +0100 |
commit | dcb33988382dd79655cc9efbafe2981de0be5d12 (patch) | |
tree | 0615241f857019ec057d08bbf9a096e3177c52a5 /sysdeps/ieee754 | |
parent | 233fc5634319e39c4a56e448af277cdad5a15fd9 (diff) | |
download | glibc-dcb33988382dd79655cc9efbafe2981de0be5d12.tar.gz glibc-dcb33988382dd79655cc9efbafe2981de0be5d12.tar.xz glibc-dcb33988382dd79655cc9efbafe2981de0be5d12.zip |
Fix missing overflow/underflow exception in ldbl-128ibm version of powl
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/e_powl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_powl.c b/sysdeps/ieee754/ldbl-128ibm/e_powl.c index 52ce33abaa..0fd4820e4e 100644 --- a/sysdeps/ieee754/ldbl-128ibm/e_powl.c +++ b/sysdeps/ieee754/ldbl-128ibm/e_powl.c @@ -88,8 +88,8 @@ static const long double zero = 0.0L, one = 1.0L, two = 2.0L, two113 = 1.0384593717069655257060992658440192E34L, - huge = 1.0e3000L, - tiny = 1.0e-3000L; + huge = 1.0e300L, + tiny = 1.0e-300L; /* 3/2 log x = 3 z + z^3 + z^3 (z^2 R(z^2)) z = (x-1)/(x+1) |