Fix description
This commit is contained in:
parent
b15694b5bc
commit
6613883296
@ -124,4 +124,4 @@ let ediv: (mutez, mutez) => option((nat, mutez))
|
|||||||
let ediv: (nat, nat) => option((nat, nat))
|
let ediv: (nat, nat) => option((nat, nat))
|
||||||
</SyntaxTitle>
|
</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)`.
|
||||||
|
Loading…
Reference in New Issue
Block a user