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

       Dear all,

we have updated our comparison with Musl 1.2.5:

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

Large errors still there in 1.2.5:

* exp10l, expm1l, lgammal, sinhl, tgammal, powl

Paul

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [musl] Accuracy of Mathematical Functions
@ 2024-02-15 15:00 Paul Zimmermann
  0 siblings, 0 replies; 12+ messages in thread
From: Paul Zimmermann @ 2024-02-15 15:00 UTC (permalink / raw)
  To: musl; +Cc: vincenzo.innocente, riemannic, johnmather

       Dear all,

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, new corner
cases found, and the ARM Performance Library is now included.

There was no new release of Musl since our last update, thus it is still 1.2.4
that is tested.

Paul Zimmermann


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [musl] Accuracy of Mathematical Functions
@ 2023-09-21  7:30 Paul Zimmermann
  2023-09-21 16:30 ` enh
  0 siblings, 1 reply; 12+ messages in thread
From: Paul Zimmermann @ 2023-09-21  7:30 UTC (permalink / raw)
  To: musl; +Cc: vincenzo.innocente, riemannic

       Hi,

we have updated our comparison:

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

This update uses Musl 1.2.4 (the previous one was for Musl 1.2.3).
The two reported issues in double-extended precision (end of page 15)
are already fixed in the development version (thanks Szabolcs).

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

Paul Zimmermann

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [musl] Accuracy of Mathematical Functions
@ 2023-02-14  8:16 Paul Zimmermann
  0 siblings, 0 replies; 12+ messages in thread
From: Paul Zimmermann @ 2023-02-14  8:16 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 (same version as the last update in August 2022).

The main change is that the LLVM library now implements more
correctly-rounded routines in single precision.

Best regards,
Paul

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [musl] Accuracy of Mathematical Functions
@ 2022-08-29 10:59 Paul Zimmermann
  0 siblings, 0 replies; 12+ 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] 12+ messages in thread
* [musl] accuracy of mathematical functions
@ 2021-09-07 15:02 Paul Zimmermann
  0 siblings, 0 replies; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread
* [musl] accuracy of mathematical functions
@ 2021-02-05 10:48 Paul Zimmermann
  0 siblings, 0 replies; 12+ 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] 12+ messages in thread

end of thread, other threads:[~2024-08-06 12:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-06 12:37 [musl] Accuracy of Mathematical Functions Paul Zimmermann
  -- strict thread matches above, loose matches on Subject: below --
2024-02-15 15:00 Paul Zimmermann
2023-09-21  7:30 Paul Zimmermann
2023-09-21 16:30 ` enh
2023-09-22  6:44   ` Szabolcs Nagy
2023-09-22 18:04     ` enh
2023-02-14  8:16 Paul Zimmermann
2022-08-29 10:59 Paul Zimmermann
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).