mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Accuracy of Mathematical Functions
@ 2022-08-29 10:59 Paul Zimmermann
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Zimmermann @ 2022-08-29 10:59 UTC (permalink / raw)
  To: musl; +Cc: vincenzo.innocente

       Hi,

we have updated our comparison:

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

This update uses Musl 1.2.3. The acoshf and sinhf issues reported in 1.2.2
are fixed (thank you Szabolcs).

The main change is that the LLVM library now implements a few
correctly-rounded routines in single precision (log, log10, log2,
hypot), and hypot in double precision.

Best regards,
Paul

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

* [musl] accuracy of mathematical functions
@ 2021-09-07 15:02 Paul Zimmermann
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Zimmermann @ 2021-09-07 15:02 UTC (permalink / raw)
  To: musl

       Hi,

a new update is available:

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

It now considers Musl 1.2.2, and two new libraries: Apple and CUDA.

Best regards,
Paul Zimmermann

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

* Re: [musl] accuracy of mathematical functions
  2021-08-03  8:36 Paul Zimmermann
@ 2021-08-03 12:56 ` Morten Welinder
  0 siblings, 0 replies; 5+ messages in thread
From: Morten Welinder @ 2021-08-03 12:56 UTC (permalink / raw)
  To: musl

* huge maximal errors for j0f, j1f, lgammaf, y0f, y1f

If anyone feels the urge to fix the bessel functions, the best
reference probably is John Harrison's:
https://www.cl.cam.ac.uk/~jrh13/papers/bessel.html  A certain amount
of tables will be needed, though.

M.

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

* [musl] accuracy of mathematical functions
@ 2021-08-03  8:36 Paul Zimmermann
  2021-08-03 12:56 ` Morten Welinder
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Zimmermann @ 2021-08-03  8:36 UTC (permalink / raw)
  To: musl

       Hi,

I am about to release a new update of the accuracy comparison of mathematical
functions [1]. It will mention Musl 1.2.2, the last release to date. The
following issues are still present in 1.2.2:

* acoshf and sinhf return a finite value instead of NaN (or the converse).
  Fixed by Szabolcs in February, but no new release since then.

* huge maximal errors for j0f, j1f, lgammaf, y0f, y1f

* huge maximal errors for j0, j1, lgamma, y0, y1

* large maximal known error for exp10l (40.1 ulps), expm1l (9.71e3 ulps),
  sinhl (9.71e3 ulps), powl (533 ulps), huge maximal known error for
  lgammal (9.08e19 ulps) and tgammal (3.69e19 ulps)

Best regards,
Paul

[1] https://members.loria.fr/PZimmermann/papers/accuracy.pdf

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

* [musl] accuracy of mathematical functions
@ 2021-02-05 10:48 Paul Zimmermann
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Zimmermann @ 2021-02-05 10:48 UTC (permalink / raw)
  To: musl

       Hi,

I have updated my comparison with the newly released glibc-2.33 version.
No big difference with the previous version, except that I included
the "long double" format (aka ldbl-96), including for musl (see pages
13 and 15):

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

Best regards,
Paul

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

end of thread, other threads:[~2022-08-29 10:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-29 10:59 [musl] Accuracy of Mathematical Functions Paul Zimmermann
  -- strict thread matches above, loose matches on Subject: below --
2021-09-07 15:02 [musl] accuracy of mathematical functions Paul Zimmermann
2021-08-03  8:36 Paul Zimmermann
2021-08-03 12:56 ` Morten Welinder
2021-02-05 10:48 Paul Zimmermann

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).