Fix description

This commit is contained in:
Tom Jack 2020-04-07 17:33:20 -05:00
parent b15694b5bc
commit 6613883296

View File

@ -124,4 +124,4 @@ let ediv: (mutez, mutez) => option((nat, mutez))
let ediv: (nat, nat) => option((nat, nat))
</SyntaxTitle>
Compiles to Michelson `EDIV`, one operation to get both the quotient and remainder of a division. `ediv x y` returns None if `y` is zero, otherwise returns `Some (quotient, remainder)` such that `x = (quotient * y) + remainder` and `0 <= remainder < y`.
Compiles to Michelson `EDIV`, one operation to get both the quotient and remainder of a division. `ediv x y` returns None if `y` is zero, otherwise returns `Some (quotient, remainder)` such that `x = (quotient * y) + remainder` and `0 <= remainder < abs(y)`.