Now, int.div and int.mod behave like C++ `/` and `%` for int,
moreover, they satisfy
(a/b)*b + (a%b) = a
|
||
|---|---|---|
| .. | ||
| basic.lean | ||
| default.lean | ||
Now, int.div and int.mod behave like C++ `/` and `%` for int,
moreover, they satisfy
(a/b)*b + (a%b) = a
|
||
|---|---|---|
| .. | ||
| basic.lean | ||
| default.lean | ||