版本1和3间的区别 (跳过第2版)
于2007-07-18 22:30:41修订的的版本1
大小: 550
编辑: czk
备注:
于2008-02-23 15:36:41修订的的版本3
大小: 615
编辑: localhost
备注: converted to 1.6 markup
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
## page was renamed from TCPL/A.7.4.6 One's Complement Operator

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.