• This is distinguished from a narrowing conversion, which may lose data.

    收缩转换不同后者可能丢失数据

    youdao

  • Explicit conversion is required by some compilers to support narrowing conversions.

    有些编译器需要显式转换支持收缩转换

    youdao

  • An example of a narrowing conversion is converting a 64-bit signed integer to a 32-bit signed integer.

    缩小转换范例转换64位元带正负号的整数为32位元带正负号的整数。

    youdao

  • Again, you must be aware of the effect of a narrowing conversion when casting to a smaller type, otherwise you might unknowingly lose information during the cast.

    同样地造型成一种较小类型时,必须留意缩小转换后果。否则在造型过程中不知不觉丢失信息

    youdao

  • If you relax the type-conversion rule, the compiler operates under permissive type semantics, which allows you to make narrowing conversions without conversion keywords.

    如果放宽类型转换规则,则编译器将在“许可类型语义”操作语义允许使用转换关键字的情况下进行收缩转换。

    youdao

  • This would only happen if the value were a "narrowing conversion," where a value exceeded the possible range value allowed in the new type, such as trying to convert from long to int, for example.

    只有转换范围更小的类型” 时,即这个值超出了类型允许范围,例如试图long 类型转换int 类型,才发生这样的情况。

    youdao

  • Define conversion operators to simplify narrowing and widening conversions between numeric types.

    定义转换操作符简化数字类型之间缩小放大转换

    youdao

  • A conversion, either widening or narrowing, must be possible between the element types of the two arrays.

    必须可以两个数组元素类型进行转换(扩大转换收缩转换)。

    youdao

  • A conversion of one array type to another is widening or narrowing depending on whether the conversion of the respective elements is widening or narrowing.

    数组类型另一种数组类型转换扩展转换还是双字节到单字节转换,取决于各自元素的转换是扩展转换还是双字节到单字节转换。

    youdao

  • If one of these conversions is widening, the reverse conversion might be narrowing.

    如果其中一个转换扩展转换反向转换便是缩小转换。

    youdao

  • A procedure is called with an argument that widens to the corresponding parameter type, and the conversion from the parameter to the argument is narrowing.

    调用过程时使用扩大对应参数类型变量参数到变量转换缩小转换。

    youdao

  • A procedure is called with an argument that widens to the corresponding parameter type, and the conversion from the parameter to the argument is narrowing.

    调用过程时使用扩大对应参数类型变量参数到变量转换缩小转换。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定