[tab:facet.num.put.fp] (original) (raw)

28 Text processing library [text]

28.3 Localization library [localization]

28.3.4 Standard locale categories [locale.categories]

28.3.4.3 The numeric category [category.numeric]

28.3.4.3.3 Class template num_put [locale.nm.put]

28.3.4.3.3.3 Virtual functions [facet.num.put.virtuals]

Table 96 — Floating-point conversions [tab:facet.num.put.fp]

🔗State stdio equivalent
🔗floatfield == ios_base​::​fixed && !uppercase %f
🔗floatfield == ios_base​::​fixed %F
🔗floatfield == ios_base​::​scientific && !uppercase %e
🔗floatfield == ios_base​::​scientific %E
🔗floatfield == (ios_base​::​fixed | ios_base​::​scientific) && !uppercase %a
🔗floatfield == (ios_base​::​fixed | ios_base​::​scientific) %A
🔗!uppercase %g
🔗otherwise %G