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

A.7.4.6 One's Complement Operator

The operand of the ~ operator must have integral type, and the result is the one's complement of its operand. The integral promotions are performed. If the operand is unsigned, the result is computed by subtracting the value from the largest value of the promoted type. If the operand is signed, the result is computed by converting the promoted operand to the corresponding unsigned type, applying ~, and converting back to the signed type. The type of the result is the type of the promoted operand.

TCPL/A.07.04.6_One's_Complement_Operator (2008-02-23 15:36:41由localhost编辑)

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