c/language/real floating types

When a value of real floating type is converted to a real floating type, if the value being converted can be represented exactly in the new type, it is unchanged. If the value being converted is in the range of values that can be represented but cannot be represented exactly, the result is either the nearest higher or nearest lower representable value, chosen in an implementation-defined manner. If the value being converted is outside the range of values that can be represented, the behavior is undefined. Results of some implicit conversions may be represented in greater range and precision than that required by the new type (see and ).

Example
c/language/real_floating_types c/language/real_floating_types c/language/real_floating_types c/language/real_floating_types c/language/real_floating_types c/language/real_floating_types c/language/real_floating_types c/language/real_floating_types