Coercion By Bitwise Operators.
按位运算符强制。
However, bitwise operators and shift operators never cause overflow.
然而,按位运算符和移位运算符永远不会导致溢出。
The conditional operator has lower precedence than bitwise operators.
条件运算符的优先级比按位运算符的优先级低。
Describes the rules that govern the coercion of the operands of bitwise operators.
描述控制位运算符的操作数强制的规则。
Bitwise operators perform Boolean algebra on the corresponding bits in the two arguments to produce the result.
按位运算符会对两个自变量中对应的位执行布尔代数,并最终生成一个结果。
Symmetric operators, such as the arithmetic, equality, relational, and bitwise operators, are best defined as ordinary nonmember functions.
对称的操作符,如算术操作符、相等操作符、关系操作符和位操作符,最好定义为普通非成员函数。
Enums can also be used in conjunction with sets, and much like the new EnumMap construct, Tiger supplies a new set implementation EnumSet that allows you to work with bitwise operators.
枚举也可以与集合结合使用,而且非常像新的enummap构造,Tiger提供了一套新的EnumSet实现,允许您使用位操作符。
The arithmetic and concatenation operators have the order of precedence described in the following section, and all have greater precedence than the comparison, logical, and bitwise operators.
算术和串连运算子优先顺序如下节所述,其优先顺序都高于比较运算子、逻辑运算子和位元运算子。
The shell doesn't have a large collection of arithmetic operators, but it's sufficient for most programming tasks, including bitwise shifts, remainders, and comparisons.
Shell并没有提供大量的算术操作符,但是已经足以完成大多数编程任务,包括移位、求余和比较。
Bitwise-or adds bits to the resulting expression, whereas bitwise-and selects only those bits in common between its two operators.
按位或向结果表达式添加位,而按位与只选择两个运算符之间相同的位。
Bitwise-or adds bits to the resulting expression, whereas bitwise-and selects only those bits in common between its two operators.
按位或向结果表达式添加位,而按位与只选择两个运算符之间相同的位。
应用推荐