Glossary: Algorithms Beyond the Basics in Rust
XOR (exclusive or)
Also written: XOR, ^, exclusive or
A bit operation that gives 1 where two bits differ. Because `x ^ x` is 0, XORing a list cancels pairs and leaves the one unpaired value.
Glossary: Algorithms Beyond the Basics in Rust
Also written: XOR, ^, exclusive or
A bit operation that gives 1 where two bits differ. Because `x ^ x` is 0, XORing a list cancels pairs and leaves the one unpaired value.