This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/19266] New: strtod ("NAN(I)") incorrect in Turkish locales
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 19 Nov 2015 00:05:30 +0000
- Subject: [Bug math/19266] New: strtod ("NAN(I)") incorrect in Turkish locales
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19266
Bug ID: 19266
Summary: strtod ("NAN(I)") incorrect in Turkish locales
Product: glibc
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
Target Milestone: ---
The implementations of strtod and related functions use locale-specific
conversions to lower case when parsing the contents of a string
NAN(n-char-sequence_opt). This has the consequence that NAN(I) is not treated
as being of that form (only the initial NAN part is accepted). The syntax of
n-char-sequence directly maps to the ASCII letters, digits and underscore as in
identifiers, so it is unambiguous that all ASCII letters must be accepted in
all locales.
--
You are receiving this mail because:
You are on the CC list for the bug.