Re: strtod ("nan") returns negative NaN
Joseph Myers <[email protected]>
| Newsgroups | gmane.comp.lib.newlib,gmane.os.cygwin |
|---|---|
| Message-ID | <[email protected]> |
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
[email protected]