public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* huge powf error
@ 2020-12-11  5:51 Paul Zimmermann
  2020-12-11 15:57 ` [PATCH] Fix error in powf for x close to 1 and large y Fabian Schriever
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Zimmermann @ 2020-12-11  5:51 UTC (permalink / raw)
  To: newlib

       Hi,

while pursuing my analysis of the accuracy of mathematical libraries [1],
I noticed that Newlib 3.3.0 powf(0x1.ffffeep-1,-0x1.000002p+27) gives +Inf
instead of 0xe.a9a99p+100 which is largely inside the binary32 range. (The
same issue appears with OpenLibm 0.7.0.)

Best regards,
Paul Zimmermann

[1] https://homepages.loria.fr/PZimmermann/papers/#accuracy

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

end of thread, other threads:[~2020-12-11 21:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11  5:51 huge powf error Paul Zimmermann
2020-12-11 15:57 ` [PATCH] Fix error in powf for x close to 1 and large y Fabian Schriever
2020-12-11 17:02   ` Paul Zimmermann
2020-12-11 21:02   ` 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).