This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofTC1 status.
double specifier fordo_get()Section: 28.3.4.3.2.3[facet.num.get.virtuals]Status:TC1Submitter: Dietmar KühlOpened: 1999-07-20Last modified: 2016-01-28
Priority:Not Prioritized
View otheractive issues in [facet.num.get.virtuals].
View all otherissues in [facet.num.get.virtuals].
View all issues withTC1 status.
Discussion:
The table in paragraph 7 for the length modifier does not list the lengthmodifierl to be applied if the type isdouble. Thus, thestandard asks the implementation to do undefined things when usingscanf()(the missing length modifier forscanf() when scanningdoublesis actually a problem I found quite often in production code, too).
Proposed resolution:
In 28.3.4.3.2.3[facet.num.get.virtuals], paragraph 7, add a row in the LengthModifier table to say that fordouble a length modifierl is to be used.
Rationale:
The standard makes an embarrassing beginner's mistake.