glibc/sysdeps
Joseph Myers 8020a80887 Fix atanhl missing underflows (bug 16352).
Similar to various other bugs in this area, some atanh implementations
do not raise the underflow exception for subnormal arguments, when the
result is tiny and inexact.  This patch forces the exception in a
similar way to previous fixes.  (No change in this regard is needed
for the i386 implementation; special handling to force underflows in
these cases will only be needed there when the spurious underflows,
bug 18049, get fixed.)

Tested for x86_64, x86, powerpc and mips64.

	[BZ #16352]
	* sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
	(__ieee754_atanh): Force underflow exception for results with
	small absolute value.
	* sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
	(__ieee754_atanhf): Force underflow exception for results with
	small absolute value.
	* sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
	(__ieee754_atanh): Force underflow exception for results with
	small absolute value.
	* sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
	(__ieee754_atanhf): Force underflow exception for results with
	small absolute value.
	* sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
	(__ieee754_atanhl): Force underflow exception for results with
	small absolute value.
	* sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
	(__ieee754_atanhl): Force underflow exception for results with
	small absolute value.
	* sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
	(__ieee754_atanhl): Force underflow exception for results with
	small absolute value.
	* math/auto-libm-test-in: Do not allow missing underflow
	exceptions from atanh.
	* math/auto-libm-test-out: Regenerated.
2015-05-15 22:07:57 +00:00
..
aarch64 [AArch64] Fix inline asm clobber list in tls-macros.h 2015-05-13 15:46:24 +01:00
alpha alpha: Update libm-test-ulps 2015-04-06 10:38:16 -07:00
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 atanhl missing underflows (bug 16352). 2015-05-15 22:07:57 +00:00
ia64 Set errno for log1p on pole/domain error. 2015-04-13 21:19:27 +02:00
ieee754 Fix atanhl missing underflows (bug 16352). 2015-05-15 22:07:57 +00:00
init_array
m68k Set errno for log1p on pole/domain error. 2015-04-13 21:19:27 +02:00
mach Fix warnings 2015-03-21 04:49:44 +01:00
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 NPTL: Remove duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP 2015-03-28 01:50:12 -04:00
posix
powerpc libc-vdso.h place consolidation 2015-04-20 08:51:17 -03:00
pthread
s390 S/390: Regenerate ULPs 2015-04-24 13:37:48 +02:00
sh
sparc Sparc memchr/memcmp/strncmp fixes from Il'ya Malakhov. 2015-04-17 10:26:14 -07:00
tile tile: Enable PI_STATIC_AND_HIDDEN 2015-04-16 09:40:21 -04:00
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