glibc/sysdeps/ieee754
Joseph Myers af1b2fd083 Fix ldbl-128 log1pl (-qNaN) spurious "invalid" exception (bug 19189).
The ldbl-128 version of log1pl raises a spurious "invalid" exception
for a -qNaN argument.  This patch fixes this by making the initial
check for infinities and NaNs handle arguments of both signs in such a
way that NaNs result in a NaN being returned (quietly if the input NaN
was quiet) while +Inf results in +Inf being returned and -Inf results
in a qNaN being returned with "invalid" exception raised.

Tested for mips64.

	[BZ #19189]
	* sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
	non-finite argument handle arguments with negative sign.
2015-10-29 23:09:51 +00:00
..
bits
dbl-64 Use C11 *_TRUE_MIN macros where applicable. 2015-10-28 21:42:52 +00:00
flt-32 Remove GCC version conditionals on -Wmaybe-uninitialized pragmas. 2015-10-27 23:42:20 +00:00
ldbl-64-128 Make scalbn set errno (bug 6803). 2015-09-16 21:11:00 +00:00
ldbl-96 Use C11 *_TRUE_MIN macros where applicable. 2015-10-28 21:42:52 +00:00
ldbl-128 Fix ldbl-128 log1pl (-qNaN) spurious "invalid" exception (bug 19189). 2015-10-29 23:09:51 +00:00
ldbl-128ibm Use C11 *_TRUE_MIN macros where applicable. 2015-10-28 21:42:52 +00:00
ldbl-opt Make drem an alias of remainder (bug 16171). 2015-10-29 22:29:21 +00:00
ieee754.h
k_standard.c
k_standardf.c
k_standardl.c
Makefile
s_lib_version.c
s_matherr.c
s_signgam.c