Re: strtod ("nan") returns negative NaN
- Date: Tue, 14 Aug 2018 19:44:15 +0000
- From: Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
- Subject: Re: strtod ("nan") returns negative NaN
On Wed, 15 Aug 2018, Masamichi Hosoda wrote:
> 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.
I would suggest that you should not consider fixed bugs in glibc (bug
23007 in this case) to be appropriate to emulate in other libraries.
Joseph S. Myers
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple