在多数情况下这不会发生问题,但是当一个IDL无符号整数取值正好落在最高位所限制的取值范围中时,类型转换就会发生不匹配的错误。
In most situations this does not pose a problem but for the translation of an IDL unsigned integer type whose value falls inside the number range of its highest order bit there will be a mismatch.
如果在表达式中混合使用无符号和有符号的32位整数,并将其赋值给一个有符号的long类型,那么将其中一个操作数转换成64位的类型。
In cases where unsigned and signed 32-bit integers are mixed in an expression and assigned to a signed long, cast one of the operands to its 64-bit type.
将指定的单精度浮点数的值转换为等效的16位无符号整数。
Converts the value of the specified Unicode character to the equivalent 16-bit unsigned integer.
应用推荐