Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 5 Feb 2021 21:09:34 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: Paul Zimmermann <Paul.Zimmermann@...ia.fr>
Cc: musl@...ts.openwall.com
Subject: Re: issue with sinhf

* Paul Zimmermann <Paul.Zimmermann@...ia.fr> [2021-02-05 09:01:09 +0100]:
> $ cat test_sinh_musl.c
> #include <stdio.h>
> #include <stdlib.h>
> #include <math.h>
> 
> int
> main ()
> {
>   float x = 0x1.62e4p+6;
>   float y = sinhf (x);
>   printf ("x=%a y=%a\n", x, y);
> }
...
> $ gcc -fno-builtin test_sinh_musl.c $FILES
> $ ./a.out
> x=0x1.62e4p+6 y=-nan

this seems to be a bug, attaching a fix


View attachment "0001-math-fix-acoshf-for-negative-inputs.patch" of type "text/x-diff" (1643 bytes)

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.