文学城论坛
+A-

对! 前两个容易, 最后一个有点绕, 我解释一下, 给别的网友看看。

eciel567 2024-11-08 20:44:03 ( reads)

The XOR logic operation returns true if either of its inputs differ and false if they are all the same.

As the two inputs  are the same, the operation returns false, which is 0, and negating 0 would be 1。

跟帖(2)

jinjiaodw

2024-11-08 22:00:29

XOR好像叫逻辑异或,很少用

eciel567

2024-11-09 07:27:49

异或在专业上用途非常广, 但专业之外就极少用。。。