29 Input/output library [input.output]

29.5 Iostreams base classes [iostreams.base]

29.5.6 ios_­base manipulators [std.ios.manip] floatfield manipulators [floatfield.manip]

Each function specified in this subclause is a designated addressable function ([namespace.std]).
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 1:
ios_­base​::​hex cannot be used to specify a hexadecimal floating-point format, because it is not part of ios_­base​::​floatfield (Table 119).
— end note]
ios_base& defaultfloat(ios_base& str);
Effects: Calls str.unsetf(ios_­base​::​floatfield).
Returns: str.