版本1和2间的区别
于2007-07-18 22:14:27修订的的版本1
大小: 614
编辑: czk
备注:
于2007-07-19 07:36:44修订的的版本2
大小: 672
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
## page was renamed from TCPL/A.6.3 Integer and Floating

A.6.3 Integer and Floating

When a value of floating type is converted to integral type, the fractional part is discarded; if the resulting value cannot be represented in the integral type, the behavior is undefined. In particular, the result of converting negative floating values to unsigned integral types is not specified.

When a value of integral type is converted to floating, and the value is in the representable range but is not exactly representable, then the result may be either the next higher or next lower representable value. If the result is out of range, the behavior is undefined.

TCPL/A.06.3_Integer_and_Floating (2008-02-23 15:36:31由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.