xor
释义:
xor
异或,英文为exclusive OR,缩写成xor异或(xor)是一个数学运算符。它应用于逻辑运算。异或的数学符号为“⊕”,计算机符号为“xor”。其运算法则为:a⊕b = (¬a ∧ b) ∨ (a ∧¬b)如果a、b两个值不相同,则异或结果为1。如果a、b两个值相同,异或结果为0。异或也叫半加运算,其运算法则相当于不带进位的二进制加法:二进制下用1表示真,0表示假,则异或的运算法则为:0⊕0=0,1⊕0=1,0⊕1=1,1⊕1=0(同为0,异为1),这些法则与加法是相同的,只是不带进位,所以异或常被认作不进位加法。异或略称为XOR、EOR、EX-OR程序中有三种演算子:XOR、eor、⊕。...
参见百度百科介绍
英语
发音
名词
xor(复数 xors)
- (逻辑学) 异或
- 近义词: exclusive or
连词
xor
- (罕用) 要么……
- 2002, "Rob Janssen", The rock argument (on Internet newsgroup alt.atheism)
- The argument leads to the conclusion that an omnipotent being could rationally be able to do one xor the other and still be omnipotent.
- 2002, "Rob Janssen", The rock argument (on Internet newsgroup alt.atheism)
参见
异序词
葡萄牙语
其他写法
名词
xor m(复数 s)
- (逻辑学) 异或
- 近义词: ou exclusivo