glibc/sysdeps/x86_64/fpu/multiarch
Joseph Myers ec0ce0d3be Fix asin missing underflows (bug 16351).
Similar to various other bugs in this area, some asin 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.

Tested for x86_64, x86, powerpc and mips64.

	[BZ #16351]
	* sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
	(MO): New macro.
	(__ieee754_asin): Force underflow exception for results with small
	absolute value.
	* sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
	(MO): New macro.
	(__ieee754_asinf): Force underflow exception for results with
	small absolute value.
	* sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
	(__ieee754_asin): Force underflow exception for results with small
	absolute value.
	* sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
	(__ieee754_asinf): Force underflow exception for results with
	small absolute value.
	* sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
	(__ieee754_asinl): Force underflow exception for results with
	small absolute value.
	* sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
	(__ieee754_asinl): Force underflow exception for results with
	small absolute value.
	* sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
	(__ieee754_asinl): Force underflow exception for results with
	small absolute value.
	* sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
	Include <math.h>.
	* math/auto-libm-test-in: Do not mark underflow exceptions as
	possibly missing for bug 16351.
	* math/auto-libm-test-out: Regenerated.
2015-02-26 17:18:54 +00:00
..
doasin-fma4.c
dosincos-fma4.c
e_asin-fma4.c
e_asin.c Fix asin missing underflows (bug 16351). 2015-02-26 17:18:54 +00:00
e_atan2-avx.c
e_atan2-fma4.c
e_atan2.c Fix atan / atan2 missing underflows (bug 15319). 2015-02-18 21:10:49 +00:00
e_exp-avx.c
e_exp-fma4.c
e_exp.c Fix implicit __isinf declarations in exp. 2014-03-24 22:00:32 +00:00
e_log-avx.c
e_log-fma4.c
e_log.c
e_pow-fma4.c
e_pow.c Fix pow overflow in non-default rounding modes (bug 16315). 2014-06-23 20:12:33 +00:00
halfulp-fma4.c
Makefile Disable use of FMA instructions in branred 2012-03-21 23:58:50 +01:00
mpa-avx.c New __sqr function as a faster special case of __mul 2013-02-14 10:31:09 +05:30
mpa-fma4.c New __sqr function as a faster special case of __mul 2013-02-14 10:31:09 +05:30
mpatan2-fma4.c
mpatan-fma4.c
mpexp-avx.c
mpexp-fma4.c
mplog-avx.c
mplog-fma4.c
mpsqrt-fma4.c
mptan-fma4.c
s_atan-avx.c
s_atan-fma4.c
s_atan.c
s_ceil-c.c
s_ceil.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_ceilf-c.c
s_ceilf.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_floor-c.c
s_floor.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_floorf-c.c
s_floorf.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_fma.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_fmaf.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_nearbyint-c.c
s_nearbyint.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_nearbyintf-c.c
s_nearbyintf.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_rint-c.c
s_rint.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_rintf-c.c
s_rintf.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s_sin-avx.c
s_sin-fma4.c Disable use of FMA instructions in branred 2012-03-21 23:58:50 +01:00
s_sin.c
s_tan-avx.c
s_tan-fma4.c Disable use of FMA instructions in branred 2012-03-21 23:58:50 +01:00
s_tan.c
sincos32-fma4.c
slowexp-avx.c
slowexp-fma4.c
slowpow-fma4.c