1、

Performs a bitwise OR on two expressions.

对两个表达式执行按位“或”运算.

互联网摘选

2、

Now we need to provide bitwise operation functions:& ( and),' ( or),^ ( exclusive or), or~ ( not).

现在,我们需要提供逐位运算函数:&(and)、(or)、^(exclusive or)、or~(not)。

互联网摘选

3、

First, let â™ s convert both numbers to binary, then apply bitwise AND and OR for each bit using our truth tables, and, finally, convert the binary result back to an integer number.

首先,要将这两个数字转换成二进制数字,然后通过真值表对每一个位进行AND和OR运算,最后将二进制结果还原成整型数字。

互联网摘选

4、

This allows you to perform bitwise logical AND, OR, XOR, and NOT comparisons.

这样便可以执行逐位的逻辑AND、OR、XOR和NOT比较。

互联网摘选

5、

The bitwise EXCLUSIVE OR, or XOR (^), produces a one in the output bit if one or the other input bit is a one, but not both.

若两个输入位的某一个是1,但不全都是1,那么按位XOR(^,异或)在输出位里生成一个1。

互联网摘选

6、

if you do not use powers of two or combinations of powers of two, bitwise operations will not work as expected.

必须使用2的幂或2的幂组合,按位运算才能正常执行。

互联网摘选

7、

then the ^ operator looks at the binary representation of the values of two expressions and does a bitwise exclusive or operation on them.

然后^运算子会检查以二进位表示的两个运算式值,在两运算式上执行位元互斥OR运算。

互联网摘选

8、

performs a bitwise exclusive or on a variable and an expression and assigns the result to the variable.

对变量和表达式执行按位“异或”运算,并将结果赋给该变量。

互联网摘选

9、

performs a bitwise exclusive or on two expressions, and assigns the result to the first argument.

在两个运算式上执行位元互斥OR,并将结果指派给第一个引数。

互联网摘选

10、

The type of an integer manipulated by the bitwise operators can be either signed or unsigned.

位操作符操纵的整数的类型可以是有符号的也可以是无符号的.

互联网摘选

11、

Bitwise operations perform logical AND, OR, EXLUSIVE OR, and NOT operations on binary representations of their integer arguments.

逐位运算在其二进制形式的整型变量上执行逻辑AND、OR、EXLUSIVE OR和NOT运算。

互联网摘选

12、

The Bitwise Exclusive OR Operator and its Application to Strategy for Playing

按位异或及其在求解游戏策略问题中的应用

互联网摘选

  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈