|
|
Message-Id: <p9u08qcus9li.fsf@thym>
Date: Sun, 15 Feb 2026 09:18:49 +0100
From: Paul Zimmermann <Paul.Zimmermann@...ia.fr>
To: Szabolcs Nagy <nsz@...t70.net>
Cc: musl@...ts.openwall.com
Subject: Re: Accuracy of Mathematical Functions
Hi Szabolcs,
> > * in double precision, for all C99 univariate functions, at least one library
> > now provides a correctly-rounded version, except atan, cosh, sinh, tanh
>
> do you have information on their code/rodata size
> and worst-case latency/throughput?
>
> i found
> https://github.com/llvm/llvm-project/blob/main/libc/docs/headers/math/index.rst
> but it does not seem to have numbers on double prec.
from a GNU libc 2.43 build, which integrates atanh from CORE-MATH:
$ ls -l ./math/e_acosh.o
-rw-r--r-- 1 zimmerma caramba 57696 Jan 29 14:06 ./math/e_acosh.o
You can find some timings about the integration of acosh in GNU libc here:
https://sourceware.org/pipermail/libc-alpha/2025-October/170985.html
(there are similar timings for other functions integrated in GNU libc)
> eventually it may be worth considering cr in libc.
Best regards,
Paul
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.