2014-01-01 21:52:25 +00:00
|
|
|
Import Int.
|
2013-09-02 23:29:27 +00:00
|
|
|
Eval 8 mod 3
|
|
|
|
Eval 8 div 4
|
|
|
|
Eval 7 div 3
|
|
|
|
Eval 7 mod 3
|
|
|
|
Show -8 mod 3
|
2013-12-19 05:18:45 +00:00
|
|
|
SetOption lean::pp::notation false
|
2013-09-02 23:29:27 +00:00
|
|
|
Show -8 mod 3
|
|
|
|
Eval -8 mod 3
|
|
|
|
Eval (-8 div 3)*3 + (-8 mod 3)
|