This is distinguished from a narrowing conversion, which may lose data.
这与收缩转换不同,后者可能丢失数据。
Explicit conversion is required by some compilers to support narrowing conversions.
有些编译器需要显式转换来支持收缩转换。
An example of a narrowing conversion is converting a 64-bit signed integer to a 32-bit signed integer.
缩小转换的范例是转换64位元带正负号的整数为32位元带正负号的整数。
应用推荐