TCPL/A.06.4_Floating_Types

A.6.4 Floating Types

When a less precise floating value is converted to an equally or more precise floating type, the value is unchanged. When a more precise floating value is converted to a less precise floating type, and the value is within representable range, the result may be either the next higher or the next lower representable value. If the result is out of range, the behavior is undefined.

TCPL/A.06.4_Floating_Types (2008-02-23 15:35:51由localhost编辑)