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: Calls str.setf(ios_Β­base​::​fixed, ios_Β­base​::​floatfield).

Returns: str.

ios_base& scientific(ios_base& str);

Effects: Calls str.setf(ios_Β­base​::​scientific, ios_Β­base​::​floatfield).

Returns: str.

ios_base& hexfloat(ios_base& str);

Effects: Calls str.setf(ios_Β­base​::​fixed | ios_Β­base​::​scientific, ios_Β­base​::​floatfield).

Returns: str.

[ Note: The more obvious use of ios_Β­base​::​hex to specify hexadecimal floating-point format would change the meaning of existing well defined programs. C++ 2003 gives no meaning to the combination of fixed and scientific. — end note ]

ios_base& defaultfloat(ios_base& str);

Effects: Calls str.unsetf(ios_Β­base​::​floatfield).

Returns: str.