Accuracy of Mathematical Functions

Paul Zimmermann Paul.Zimmermann@inria.fr
Thu Sep 21 07:24:07 GMT 2023


       Hi,

we have updated our comparison:

https://members.loria.fr/PZimmermann/papers/accuracy.pdf

This is a new version with updated versions of the different libraries and:

* the Microsoft math library is now included (it was clearly missing)
* we also added the FreeBSD math library
* and we added some new C23 functions (acospi, cospi, ...) which are available
  in the Intel and FreeBSD math libraries

This version uses the same Newlib version (4.3.0) as the previous one,
thus there is no much change for Newlib.

In particular the regression for tgammaf I reported on February 8 is still
there:

https://sourceware.org/pipermail/newlib/2023/020171.html

Same for the huge error in pow reported on February 7:

https://sourceware.org/pipermail/newlib/2023/020164.html

Corinna, since you asked, a correctly rounded version is available here:

https://gitlab.inria.fr/core-math/core-math/-/blob/master/src/binary64/pow/pow.c

Best regards,
Paul Zimmermann


More information about the Newlib mailing list