summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-04-08 17:32:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-04-08 17:32:17 +0000
commit8431838dde9187c061ac64b8d61290e8de021dda (patch)
tree4acac47ebfabfa8931fc426364326deadf520e81 /NEWS
parentae63c7ebedcaa57017df4cb8ff0494a4705321ee (diff)
downloadglibc-8431838dde9187c061ac64b8d61290e8de021dda.tar.gz
glibc-8431838dde9187c061ac64b8d61290e8de021dda.tar.xz
glibc-8431838dde9187c061ac64b8d61290e8de021dda.zip
Fix dbl-64 atan2 in non-default rounding modes (bug 18210, bug 18211).
The dbl-64 implementation of atan2 does computations that expect to
run in round-to-nearest mode, and in other modes the errors can
accumulate to more than the maximum accepted 9ulp.  This patch makes
it use FE_TONEAREST internally, similar to other functions with such
issues.  Tests that previously produced large errors are added for
atan2 and the closely related carg, clog and clog10 functions.

Tested for x86_64 and x86 and ulps updated accordingly.

	[BZ #18210]
	[BZ #18211]
	* sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
	(__ieee754_atan2): Set FE_TONEAREST mode for internal
	computations.
	* math/auto-libm-test-in: Add more tests of atan2, carg, clog and
	clog10.
	* math/auto-libm-test-out: Regenerated.
	* sysdeps/i386/fpu/libm-test-ulps: Update.
	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b6776bcc69..0709bac08e 100644
--- a/NEWS
+++ b/NEWS
@@ -15,7 +15,8 @@ Version 2.22
   17836, 17912, 17916, 17930, 17932, 17944, 17949, 17964, 17965, 17967,
   17969, 17978, 17987, 17991, 17996, 17998, 17999, 18019, 18020, 18029,
   18030, 18032, 18036, 18038, 18039, 18042, 18043, 18046, 18047, 18068,
-  18080, 18093, 18100, 18104, 18110, 18111, 18128, 18138, 18185, 18197.
+  18080, 18093, 18100, 18104, 18110, 18111, 18128, 18138, 18185, 18197,
+  18210, 18211.
 
 * A powerpc and powerpc64 optimization for TLS, similar to TLS descriptors
   for LD and GD on x86 and x86-64, has been implemented.  You will need