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

A.7.4.5 Unary Minus Operator

The operand of the unary - operator must have arithmetic type, and the result is the negative of its operand. An integral operand undergoes integral promotion. The negative of an unsigned quantity is computed by subtracting the promoted value from the largest value of the promoted type and adding one; but negative zero is zero. The type of the result is the type of the promoted operand.

TCPL/A.07.04.5_Unary_Minus_Operator (2008-02-23 15:34:13由localhost编辑)

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