about summary refs log tree commit diff
path: root/wcsmbs/tst-wcstod-nan-sign.c
diff options
context:
space:
mode:
authorHerman ten Brugge <hermantenbrugge@home.nl>2018-06-15 17:35:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-06-15 17:35:17 +0000
commitb0debe14fcfe690eee8b5e693554dd258603805d (patch)
treec393efa15c55dba3efa488b10a6bd861f3372791 /wcsmbs/tst-wcstod-nan-sign.c
parent14beef7575099f6373f9a45b4656f1e3675f7372 (diff)
downloadglibc-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 'wcsmbs/tst-wcstod-nan-sign.c')
0 files changed, 0 insertions, 0 deletions