Display of floating-point types

When the insertion operator is used along with cout to display any of the three floating point types, by default, the number of significant digits that is displayed is the same as type float even though types double and long double maintain more significant digits than type float in their internal representation.