版本2和3间的区别
于2007-07-19 07:36:44修订的的版本2
大小: 672
编辑: czk
备注:
于2008-02-23 15:36:31修订的的版本3
大小: 672
编辑: localhost
备注: converted to 1.6 markup
未发现区别!

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.