diff options
author | Herman ten Brugge <hermantenbrugge@home.nl> | 2018-06-15 17:35:17 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-06-15 17:35:17 +0000 |
commit | b0debe14fcfe690eee8b5e693554dd258603805d (patch) | |
tree | c393efa15c55dba3efa488b10a6bd861f3372791 /streams | |
parent | 14beef7575099f6373f9a45b4656f1e3675f7372 (diff) | |
download | glibc-b0debe14fcfe690eee8b5e693554dd258603805d.tar.gz glibc-b0debe14fcfe690eee8b5e693554dd258603805d.tar.xz glibc-b0debe14fcfe690eee8b5e693554dd258603805d.zip |
Fix sign of NaN returned by strtod (bug 23007).
As reported in bug 23007, strtod ignores any sign in the input string in the case of a NaN result. Thes patch fixes this. Tested for x86_64 (in conjunction with tests to be added separately). [BZ #23007] * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of appropriate sign.
Diffstat (limited to 'streams')
0 files changed, 0 insertions, 0 deletions