Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 20:20:25 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Paul Zimmermann <Paul.Zimmermann@inria.fr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Accuracy of Mathematical Functions
Message-ID:  <EFAAD1BB-3897-4DDF-B5A6-F6399EA53F17@FreeBSD.org>
In-Reply-To: <p9u0h6ni1hwy.fsf@coriandre.loria.fr>
References:  <p9u0h6ni1hwy.fsf@coriandre.loria.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_24E27A91-7539-491E-A37D-966F2689EC15
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 25 Sep 2023, at 15:50, Paul Zimmermann <Paul.Zimmermann@inria.fr> =
wrote:
>=20
> I hope this is not off-topic for this list (Technical discussions =
relating
> to FreeBSD).

The freebsd-numerics@ list might have been a better match, but it
receives very low traffic, and the audience on this list will be larger.


> We have updated our comparison:
>=20
> https://members.loria.fr/PZimmermann/papers/accuracy.pdf
>=20
> This new update includes for the first time the FreeBSD math library,
> whose accuracy is quite good, except:
>=20
> * single precision: the Bessel functions, lgammaf, cospif, sinpif, =
tanpif, powf
> * double precision: the Bessel functions, lgammaf, tgammaf, cospi, =
sinpi,
>  tanpi, pow
> * double-extended precision: erfcl, lgammal, tgammal, cospil, sinpil, =
tanpil,
>  powl
>=20
> Some issues have already been fixed in the development version by =
Steve
> Kargl (we used FreeBSD 13.2).

Very interesting paper! Of course we are always interested in
improvements for libm, and Steve semi-regularly posts patches in our bug
tracker. (Steve's no longer a committer, but usually these get committed
by others quickly enough.)

At the moment FreeBSD 14.0 is in beta phase, and there have been a
number of updates to libm, so it would be interesting to see if it makes
the ulp situation a bit better.

-Dimitry


--Apple-Mail=_24E27A91-7539-491E-A37D-966F2689EC15
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZRHPaQAKCRCwXqMKLiCW
o2TMAJ9/Q+8EvzDIV+ICI9t0Mis+s43PwQCgvTM2PSETRbFIrvjwkpm7dtrCDyM=
=JAfZ
-----END PGP SIGNATURE-----

--Apple-Mail=_24E27A91-7539-491E-A37D-966F2689EC15--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EFAAD1BB-3897-4DDF-B5A6-F6399EA53F17>