summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-23 21:37:33 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-23 21:37:33 +0000
commitc643db8792102d1a2efad109f58139977d8608d6 (patch)
tree174813e539b6cdf509201237756ec2b02e2247ce /NEWS
parent846d9a4a3acdb4939ca7bf6aed48f9f6f26911be (diff)
downloadglibc-c643db8792102d1a2efad109f58139977d8608d6.tar.gz
glibc-c643db8792102d1a2efad109f58139977d8608d6.tar.xz
glibc-c643db8792102d1a2efad109f58139977d8608d6.zip
Fix j1, jn missing errno setting on underflow (bug 18611).
j1 and jn can underflow for small arguments, but fail to set errno
when underflowing to 0.  This patch fixes them to set errno in that
case.

Tested for x86_64, x86, mips64 and powerpc.

	[BZ #18611]
	* sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
	avoid excess range and precision on underflow.
	* sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
	* sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
	* sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
	* sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
	underflow.
	* sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
	* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
	* sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
	* math/auto-libm-test-in: Do not allow missing errno setting for
	tests of j1 and jn.
	* math/auto-libm-test-out: Regenerated.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS18
1 files changed, 9 insertions, 9 deletions
diff --git a/NEWS b/NEWS
index 77534b941c..e1d34e8c70 100644
--- a/NEWS
+++ b/NEWS
@@ -13,15 +13,15 @@ Version 2.23
   15384, 15470, 15491, 15786, 15918, 16141, 16296, 16347, 16399, 16415,
   16422, 16517, 16519, 16520, 16521, 16620, 16734, 16973, 16985, 17118,
   17243, 17244, 17250, 17441, 17787, 17886, 17887, 17905, 18084, 18086,
-  18240, 18265, 18370, 18421, 18480, 18525, 18595, 18589, 18610, 18618,
-  18647, 18661, 18674, 18675, 18681, 18699, 18724, 18743, 18757, 18778,
-  18781, 18787, 18789, 18790, 18795, 18796, 18803, 18820, 18823, 18824,
-  18825, 18857, 18863, 18870, 18872, 18873, 18875, 18887, 18918, 18921,
-  18928, 18951, 18952, 18953, 18956, 18961, 18966, 18967, 18969, 18970,
-  18977, 18980, 18981, 18982, 18985, 19003, 19007, 19012, 19016, 19018,
-  19032, 19046, 19049, 19050, 19059, 19071, 19074, 19076, 19077, 19078,
-  19079, 19085, 19086, 19088, 19094, 19095, 19124, 19125, 19129, 19134,
-  19137, 19156.
+  18240, 18265, 18370, 18421, 18480, 18525, 18595, 18589, 18610, 18611,
+  18618, 18647, 18661, 18674, 18675, 18681, 18699, 18724, 18743, 18757,
+  18778, 18781, 18787, 18789, 18790, 18795, 18796, 18803, 18820, 18823,
+  18824, 18825, 18857, 18863, 18870, 18872, 18873, 18875, 18887, 18918,
+  18921, 18928, 18951, 18952, 18953, 18956, 18961, 18966, 18967, 18969,
+  18970, 18977, 18980, 18981, 18982, 18985, 19003, 19007, 19012, 19016,
+  19018, 19032, 19046, 19049, 19050, 19059, 19071, 19074, 19076, 19077,
+  19078, 19079, 19085, 19086, 19088, 19094, 19095, 19124, 19125, 19129,
+  19134, 19137, 19156.
 
 * There is now a --disable-timezone-tools configure option for disabling the
   building and installing of the timezone related utilities (zic, zdump, and