1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
ZoKrates/zokrates_stdlib/stdlib/utils/binary/xor.zok
2019-09-24 12:05:43 +02:00

4 lines
No EOL
72 B
Text

// XOR
def main(field x, field y) -> (field):
return x + y - 2 * x * y