This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/19266] New: strtod ("NAN(I)") incorrect in Turkish locales


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]