Otherwise, if the signed integer type can represent all of the values of the unsigned type, the common type is the signed type.
否则,如果有符号整型可以表示无符号整型的值时,公共类型是有符号类型。
An example of a narrowing coercion is coercing a 64-bit signed integer to a 32-bit signed integer.
窄缩强制的一个例子是将64位有符号整数强制为32位有符号整数。
An example of a widening conversion is converting a value that is a 32-bit signed integer to a value that is a 64-bit signed integer.
扩展转换的一个例子是将32位有符号整数值转换为64位有符号整数值。
应用推荐