mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
Fix missing overflow/underflow exception in ldbl-128ibm version of powl
This commit is contained in:
parent
233fc56343
commit
dcb3398838
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user