Documentation Home
>
Oracle Solaris Studio 12.2:C 用户指南
>
附录 E 实现定义的 ISO/IEC C90 行为
>
E.1 与 ISO 标准比较的实现
>
E.1.5 整数 (G.3.5)
> E.1.5.3 (6.3) The results of bitwise operations on signed integers(带符号整型数的按位操作的结果):
Oracle Solaris Studio 12.2:C 用户指南
Previous
: E.1.5.2 (6.2.1.2) The result of converting an integer to a shorter signed integer, or the result of converting an unsigned integer to a signed integer of equal length, if the value cannot be represented(值无法表示的情况下,整数转换为较短的带符号整型数的结果,或者无符号整型数转换为同等长度的带符号整型数的结果):
Next
: E.1.5.4 (6.3.5) The sign of the remainder on integer division(整数除法的余数的符号):
E.1.5.3 (6.3) The results of bitwise operations on signed integers(带符号整型数的按位操作的结果):
对
signed
类型应用按位操作的结果是操作数的按位操作,包括
sign
位。因此,当且仅当两个操作数中每个对应的位均已置位时,结果中的每个位才置位。
Previous
: E.1.5.2 (6.2.1.2) The result of converting an integer to a shorter signed integer, or the result of converting an unsigned integer to a signed integer of equal length, if the value cannot be represented(值无法表示的情况下,整数转换为较短的带符号整型数的结果,或者无符号整型数转换为同等长度的带符号整型数的结果):
Next
: E.1.5.4 (6.3.5) The sign of the remainder on integer division(整数除法的余数的符号):
© 2010, Oracle Corporation and/or its affiliates