Fix missing overflow/underflow exception in ldbl-128ibm version of powl

This commit is contained in:
Andreas Schwab 2012-03-21 11:51:17 +01:00
parent 233fc56343
commit dcb3398838
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
exponent.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* configure.in (libc_cv_cc_nofma): Check for option to disable

View File

@ -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)