From 526af54142db14c1edcd2d80dc1b56d33ff4e8ce Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 19 May 2015 23:05:22 +0000 Subject: Fix i386 atanhl spurious underflows (bug 18049). The i386 implementation of atanhl, for small arguments, does a calculation that involves computing twice the square of the argument, resulting in spurious underflows for some arguments. This patch fixes this by just returning the argument when its exponent is below -32, with underflow being forced as needed for subnormal arguments. Tested for x86 and x86_64. [BZ #18049] * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents below -32, return the argument, with underflow if subnormal. * math/auto-libm-test-in: Add more tests of atanh. * math/auto-libm-test-out: Regenerated. --- NEWS | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 7d74b8e..c112b94 100644 --- a/NEWS +++ b/NEWS @@ -15,10 +15,10 @@ Version 2.22 17631, 17692, 17711, 17715, 17776, 17779, 17792, 17836, 17912, 17916, 17930, 17932, 17944, 17949, 17964, 17965, 17967, 17969, 17978, 17987, 17991, 17996, 17998, 17999, 18007, 18019, 18020, 18029, 18030, 18032, - 18036, 18038, 18039, 18042, 18043, 18046, 18047, 18068, 18080, 18093, - 18100, 18104, 18110, 18111, 18125, 18128, 18138, 18185, 18196, 18197, - 18206, 18210, 18211, 18217, 18220, 18221, 18247, 18287, 18319, 18333, - 18346, 18397, 18409, 18418. + 18036, 18038, 18039, 18042, 18043, 18046, 18047, 18049, 18068, 18080, + 18093, 18100, 18104, 18110, 18111, 18125, 18128, 18138, 18185, 18196, + 18197, 18206, 18210, 18211, 18217, 18220, 18221, 18247, 18287, 18319, + 18333, 18346, 18397, 18409, 18418. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. -- cgit v1.1