strtod ("nan") returns negative NaN
Corinna Vinschen
vinschen@redhat.com
Tue Aug 14 17:43:00 GMT 2018
On Aug 15 00:05, Masamichi Hosoda wrote:
> Hi
>
> I've found that strtod ("nan") returns negative NaN on Cygwin 64 bit.
> https://cygwin.com/ml/cygwin/2018-08/msg00168.html
>
> On Linux with glibc, both strtod ("nan")
> and strtod ("-nan") return positive NaN.
>
> So I've created the patch that behaves like glibc.
> Both strtod ("nan") and strtod ("-nan") return positive NaN.
Looks good on Cygwin. Any comments from non-Cygwin devs?
If nobody has a problem I push the patch in the next days.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180814/98f432ad/attachment.sig>
More information about the Newlib
mailing list