30 Input/output library [input.output]

30.5 Iostreams base classes [iostreams.base]

30.5.6 ios_­base manipulators [std.ios.manip]

30.5.6.4 floatfield manipulators [floatfield.manip]

ios_base& fixed(ios_base& str);

Effects: Звонки str.setf(ios_­base​::​fixed, ios_­base​::​floatfield).

Returns: str.

ios_base& scientific(ios_base& str);

Effects: Звонки str.setf(ios_­base​::​scientific, ios_­base​::​floatfield).

Returns: str.

ios_base& hexfloat(ios_base& str);

Effects: Звонки str.setf(ios_­base​::​fixed | ios_­base​::​scientific, ios_­base​::​floatfield).

Returns: str.

[ Note: Более очевидное использование ios_­base​::​hex для указания шестнадцатеричного формата с плавающей запятой изменило бы смысл существующих четко определенных программ. C ++ 2003 не придает значения комбинации fixed и scientific. ]end note

ios_base& defaultfloat(ios_base& str);

Effects: Звонки str.unsetf(ios_­base​::​floatfield).

Returns: str.