glibc/sysdeps
Joseph Myers e7dd3c8c1d Fix ldbl-128 erfl spurious underflows (bug 16287).
This patch fixes bug 16287, spurious underflows from ldbl-128 erfl
arising from it calling erfcl for arguments with absolute value at
least 1.0, although for large positive arguments erfcl correctly
underflows but erfl shouldn't.  The fix is simply to avoid calling
erfcl, and just return 1, for arguments above a cut-off large enough
that erfl correctly rounds to-nearest as 1 but not so large that erfcl
underflows.

Tested mips64.  Also tested x86_64 and x86 to confirm the new tests
(taken from the tests of erfc) don't cause any problems there; no ulps
updates needed.

	[BZ #16287]
	* sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
	calling __erfcl for arguments at least 16.
	* math/auto-libm-test-in: Add more tests of erf.
	* math/auto-libm-test-out: Regenerated.
2014-06-24 20:56:56 +00:00
..
aarch64 [AArch64] Add optimized strchr. 2014-06-19 11:03:59 +01:00
alpha Alpha: Define TLS_DEFINE_INIT_TP 2014-06-11 12:23:35 -07:00
arm Optimize fesetenv 2014-06-24 15:05:23 +00:00
generic Add missing #include in get-rounding-mode.h 2014-06-23 14:07:59 -07:00
gnu Silence a missing-noreturn warning for _Unwind_Resume. 2014-05-09 10:06:20 -07:00
hppa HPPA: Define TLS_DEFINE_INIT_TP 2014-06-09 14:04:45 -07:00
i386 Fix cosh spurious underflows from expm1 (bug 16354), inaccurate results near 0 (bug 17061). 2014-06-23 20:20:10 +00:00
ia64 [BZ #6803] Set errno for scalbln, scalbn 2014-06-20 07:48:20 +05:30
ieee754 Fix ldbl-128 erfl spurious underflows (bug 16287). 2014-06-24 20:56:56 +00:00
init_array Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
m68k m68k: Consolidate nptl/ subdirectories under linux/... 2014-06-23 09:24:18 -07:00
mach Remove second argument from TLS_INIT_TP macro 2014-05-27 14:48:46 +02:00
microblaze Remove second argument from TLS_INIT_TP macro 2014-05-27 14:48:46 +02:00
mips MIPS: Move NPTL public headers to sysdeps/mips/nptl/. 2014-06-23 09:25:41 -07:00
nptl Add adaptive elision to rwlocks 2014-06-13 13:15:28 -07:00
posix Return EAI_AGAIN for AF_UNSPEC when herrno is TRY_AGAIN (BZ #16849) 2014-05-15 12:33:11 +05:30
powerpc PowerPC: sync hwcap.h capabilities 2014-06-23 09:40:05 -05:00
pthread Use list.h in posix-timer code. 2014-06-12 14:17:14 -07:00
s390 Use $(rtld-prefix) more consistently. 2014-06-18 10:35:29 +00:00
sh Include <kernel-features.h> explicitly where required. 2014-06-20 23:24:00 +00:00
sparc Missing new file from last commit. 2014-06-20 17:27:16 -07:00
tile Add adaptive elision to rwlocks 2014-06-13 13:15:28 -07:00
unix Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
wordsize-32 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wordsize-64 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
x86 Fix namespace violation in pthreadtypes.h (BZ #17084) 2014-06-24 22:43:34 +05:30
x86_64 Test cpow in all rounding modes. 2014-06-23 20:15:14 +00:00