* [musl] large errors with long double functions
@ 2021-01-07 13:36 Paul Zimmermann
0 siblings, 0 replies; only message in thread
From: Paul Zimmermann @ 2021-01-07 13:36 UTC (permalink / raw)
To: musl
Hi,
I notice large errors for some long double functions (on x86_64) with
musl-1.2.1:
expm1l 0x2.c516edaf5e96a33cp+12l 9700.65
lgammal -0x2.74ff92c01f0d82acp+0l 9.08e+19
sinhl 0x2.c516edaf5e96a33cp+12l 9700.65
tgammal -0x2.8d19fd20f3aa62cp+4l 3.69e+19
powl 0xd.64229ca81fffep+16368l,-0x1.b9b6d40000000002p-48l 532.341
The lgammal/tgammal errors are not surprising, but those for expm1l and sinhl
are, and the fact that the input/error are the same for expm1l and sinhl
suggest that one function is using the other one, and maybe that latter one
only provides double precision accuracy.
For powl also it is surprising, since other libraries typically yield
errors < 1 ulp.
Best regards,
Paul
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-07 13:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 13:36 [musl] large errors with long double functions 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).