huge powf error

Paul Zimmermann Paul.Zimmermann@inria.fr
Fri Dec 11 05:51:33 GMT 2020


       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


More information about the Newlib mailing list