about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-19 23:44:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-19 23:44:28 +0000
commit3ce2232efb008e129908b9f35c4266991d9361de (patch)
treea479c93a0470a331434f1c96b0f365151e7bbd95 /NEWS
parent526af54142db14c1edcd2d80dc1b56d33ff4e8ce (diff)
downloadglibc-3ce2232efb008e129908b9f35c4266991d9361de.tar.gz
glibc-3ce2232efb008e129908b9f35c4266991d9361de.tar.xz
glibc-3ce2232efb008e129908b9f35c4266991d9361de.zip
Fix ldbl-96 remquol (finite, Inf) (bug 18244).
ldbl-96 remquol wrongly handles the case where the first argument is
finite and the second infinite, because the check for the second
argument being a NaN fails to disregard the explicit high mantissa bit
and so wrongly interprets an infinity as being a NaN.  This patch
fixes this by masking off that bit, and improves test coverage for
both remainder and remquo (various cases were missing tests, or, as in
the case of the bug, were tested only for one of the two functions).

Tested for x86_64 and x86.

	[BZ #18244]
	* sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
	high mantissa bit when testing whether P is a NaN.
	* math/libm-test.inc (remainder_test_data): Add more tests.
	(remquo_test_data): Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 2 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c112b94ba3..81bbea5e61 100644
--- a/NEWS
+++ b/NEWS
@@ -17,8 +17,8 @@ Version 2.22
   17991, 17996, 17998, 17999, 18007, 18019, 18020, 18029, 18030, 18032,
   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.
+  18197, 18206, 18210, 18211, 18217, 18220, 18221, 18244, 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.