Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <mw8s81vh4r.fsf@tomate.loria.fr>
Date: Sat, 06 Feb 2021 07:34:44 +0100
From: Paul Zimmermann <Paul.Zimmermann@...ia.fr>
To: Szabolcs Nagy <nsz@...t70.net>
Cc: musl@...ts.openwall.com
Subject: Re: issue with sinhf

       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


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.