glibc/sysdeps
Joseph Myers ff069f024a Fix lgammaf spurious underflows (bug 18220).
The flt-32 implementation of lgammaf produces spurious underflow
exceptions for some large arguments, because of calculations involving
x^-2 multiplied by small constants.  This patch fixes this by
adjusting the threshold for a simpler computation to 2**26 (the error
in the simpler computation is on the order of 0.5 * log (x), for a
result on the order of x * log (x)).

Tested for x86_64 and x86.

	[BZ #18220]
	* sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
	2**26 not 2**58 as threshold for returning x * (log (x) - 1).
	* math/auto-libm-test-in: Add another test of lgamma.
	* math/auto-libm-test-out: Regenerated.
2015-05-15 17:21:08 +00:00
..
aarch64 [AArch64] Fix inline asm clobber list in tls-macros.h 2015-05-13 15:46:24 +01:00
alpha
arm NaCl: Provide non-default values for uname. 2015-05-12 10:54:47 -07:00
generic Refactoring of START for conditions in individual tests 2015-05-14 18:07:06 +03:00
gnu
hppa
i386 Fix log1p missing underflows (bug 16339). 2015-05-14 23:38:07 +00:00
ia64
ieee754 Fix lgammaf spurious underflows (bug 18220). 2015-05-15 17:21:08 +00:00
init_array
m68k
mach
microblaze
mips Fix mips16 __fpu_control static linking (bug 18397). 2015-05-11 22:58:10 +00:00
nacl NaCl: Make fdopendir skip fcntl check. 2015-05-13 12:50:25 -07:00
nios2
nptl
posix
powerpc
pthread
s390
sh
sparc
tile
unix Fix non-portable echo usage in sysdeps/unix/make-syscalls.sh 2015-05-14 16:38:46 -03:00
wordsize-32
wordsize-64
x86
x86_64 Remove various ABS macros and replace uses with fabs (or in one case abs) 2015-05-15 11:04:40 +00:00