about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-08-05 15:01:58 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-08-05 15:01:58 +0000
commitcf36e5034fa8ed5d44036bce09a55a7f00d19252 (patch)
tree9fca061d81056a70793ebee9bf828b4e5b97f724 /NEWS
parent2aa6c8af26e65695e9daf382a6e508574a30cdf2 (diff)
downloadglibc-cf36e5034fa8ed5d44036bce09a55a7f00d19252.tar.gz
glibc-cf36e5034fa8ed5d44036bce09a55a7f00d19252.tar.xz
glibc-cf36e5034fa8ed5d44036bce09a55a7f00d19252.zip
Fix powf (close to -1, large) (bug 18647).
The flt-32 implementation of powf wrongly uses x-1 instead of |x|-1
when computing log (x) for the case where |x| is close to 1 and y is
large.  This patch fixes the logic accordingly.  Relevant tests
existed for x close to 1, and corresponding tests are added for x
close to -1, as well as for some new variant cases.

Tested for x86_64 and x86.

	[BZ #18647]
	* sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
	and |x| close to 1, use absolute value of x when computing log.
	* math/auto-libm-test-in: Add more tests of pow.
	* math/auto-libm-test-out: Regenerated.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6e0726c418..0eef93906a 100644
--- a/NEWS
+++ b/NEWS
@@ -8,7 +8,7 @@ using `glibc' in the "product" field.
 Version 2.23
 
 * The following bugs are resolved with this release:
-  18265, 18525.
+  18265, 18525, 18647.
 
 Version 2.22