[PATCH 0/4] Fix huge error for pow detected by Paul Zimmermann
Andoni Arregi
andoni.arregui@gtd-gmbh.de
Wed Apr 12 15:34:41 GMT 2023
This patch series fixes in pow the huge error detected by Paul
Zimmermann where x is negative and y is a large odd integer.
There is also an accuracy fix for cases where x is close to 1 and y is
large.
Andoni Arregi (4):
Fix missing sign for overflow/underflow where x is negative and y is
large odd integer
Fix x close to 1, y between 2^31 and 2^64
Compare j as unsigned
Replace always true if with else
newlib/libm/math/e_pow.c | 48 +++++++++++++++++++++-------------------
1 file changed, 25 insertions(+), 23 deletions(-)
--
2.40.0
More information about the Newlib
mailing list