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位有符号整数值。
An example of a narrowing conversion is converting a 64-bit signed integer to a 32-bit signed integer.
缩小转换的范例是转换64位元带正负号的整数为32位元带正负号的整数。
An example of a widening coercion is coercing a value that is a 32-bit signed integer to a value that is a 64-bit signed integer.
扩展强制的一个例子是将32位有符号整数值强制为64位有符号整数值。
Converts the value of the specified 64-bit signed integer to an equivalent 16-bit signed integer.
将指定的16位无符号整数的值转换为等效的16位带符号整数。
Converts the value of the specified 64-bit signed integer to an equivalent 16-bit signed integer.
将指定的16位无符号整数的值转换为等效的16位带符号整数。
应用推荐