fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 237: Xor integers
Idiom # 237: Xor integers
See
programming-idioms.org
:
Code
c := a ^ b
What are effects?
Running Example
ex237 is a := u32 0x55555555 b := u32 0xaaaaaaaa c := a ^ b say c.hex
What are effects?
last changed: 2024-07-01
next: Idiom # 238: Xor byte arrays