1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-21 14:53:53 +03:00
Files
glibc/sysdeps
Joseph Myers cf36e5034f 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.
2015-08-05 15:01:58 +00:00
..
2015-05-19 09:43:54 -07:00
2015-02-08 18:46:00 +01:00
2015-07-21 00:20:24 +02:00
2015-07-09 15:25:47 -07:00
2015-07-01 17:24:37 +00:00
2015-07-15 09:33:14 +02:00
2015-07-16 12:03:33 -07:00
2015-08-05 10:41:03 -03:00