mailing list of musl libc
 help / color / mirror / Atom feed
* [musl] accuracy of mathematical functions
@ 2021-08-03  8:36 Paul Zimmermann
  2021-08-03 12:56 ` Morten Welinder
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

* Re: [musl] accuracy of mathematical functions
  2021-08-03  8:36 [musl] accuracy of mathematical functions Paul Zimmermann
@ 2021-08-03 12:56 ` Morten Welinder
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [musl] accuracy of mathematical functions
@ 2021-09-07 15:02 Paul Zimmermann
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [musl] accuracy of mathematical functions
@ 2021-02-05 10:48 Paul Zimmermann
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2021-09-07 15:03 UTC | newest]

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

mailing list of musl libc

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/musl

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 musl musl/ https://inbox.vuxu.org/musl \
		musl@inbox.vuxu.org
	public-inbox-index musl

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.musl


code repositories for the project(s) associated with this inbox:

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

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git