1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/stdlib/utils/binary/or.code
2019-01-24 17:05:19 +01:00

7 lines
No EOL
133 B
Text

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