From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
To: Szabolcs Nagy <nsz@port70.net>
Cc: musl@lists.openwall.com
Subject: Re: [musl] issue with sinhf
Date: Sat, 06 Feb 2021 07:34:44 +0100 [thread overview]
Message-ID: <mw8s81vh4r.fsf@tomate.loria.fr> (raw)
In-Reply-To: <20210205201229.GD2447252@port70.net> (message from Szabolcs Nagy on Fri, 5 Feb 2021 21:12:29 +0100)
Dear Szabolcs,
> that one was for the acoshf bug, the sinhf issue was a bug
> in expm1f (overflowed too early, although sinhf could have
> used a less tight threshold that would have prevented this
> causing an issue there)
>
>
> [2:text/x-diff Show Save:0001-math-fix-expm1f-overflow-threshold.patch (1kB)]
and that one fixes the sinhf issue:
GLIBC :
$ gcc -fno-builtin test_sinh_musl.c -lm
$ ./a.out
x=0x1.62e4p+6 y=0x1.ffe808p+126
musl-1.2.2 + above patch:
$ gcc -fno-builtin test_sinh_musl.c $FILES
$ ./a.out
x=0x1.62e4p+6 y=0x1.ffe808p+126
Thank you!
Paul
next prev parent reply other threads:[~2021-02-06 6:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 8:01 Paul Zimmermann
2021-02-05 20:09 ` Szabolcs Nagy
2021-02-05 20:12 ` Szabolcs Nagy
2021-02-06 6:34 ` Paul Zimmermann [this message]
2021-02-06 6:29 ` Paul Zimmermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mw8s81vh4r.fsf@tomate.loria.fr \
--to=paul.zimmermann@inria.fr \
--cc=musl@lists.openwall.com \
--cc=nsz@port70.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).