1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_stdlib/stdlib/utils/binary/or.zok
2019-09-24 12:05:43 +02:00

7 lines
No EOL
123 B
Text

// OR
import "./and" as AND
import "./not" as NOT
def main(field x, field y) -> (field):
return NOT(AND(NOT(x), NOT(y)))