public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix huge error for pow detected by Paul Zimmermann
@ 2023-04-12 15:34 Andoni Arregi
  2023-04-12 15:34 ` [PATCH 1/4] Fix missing sign for overflow/underflow where x is negative and y is large odd integer Andoni Arregi
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Andoni Arregi @ 2023-04-12 15:34 UTC (permalink / raw)
  To: newlib; +Cc: Andoni Arregi

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-04-13 17:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-12 15:34 [PATCH 0/4] Fix huge error for pow detected by Paul Zimmermann Andoni Arregi
2023-04-12 15:34 ` [PATCH 1/4] Fix missing sign for overflow/underflow where x is negative and y is large odd integer Andoni Arregi
2023-04-12 15:34 ` [PATCH 2/4] Fix x close to 1, y between 2^31 and 2^64 Andoni Arregi
2023-04-12 15:34 ` [PATCH 3/4] Compare j as unsigned Andoni Arregi
2023-04-12 15:34 ` [PATCH 4/4] Replace always true if with else Andoni Arregi
2023-04-13  5:46 ` [PATCH 0/4] Fix huge error for pow detected by Paul Zimmermann Paul Zimmermann
2023-04-13 12:16 ` Paul Zimmermann
2023-04-13 14:39   ` Andoni Arregi
2023-04-13 17:37     ` Jeff Johnston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).