This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:mod [2017/10/13 00:49] – Added example code GameGibu | crpl:docs:mod [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== mod ===== | ===== mod ===== | ||
- | ^Arguments^Result^Notation^ | + | <-a <-b mod ->result |
- | |Two items on the stack|The division remainder of two items |'' | + | |
=== Description === | === Description === | ||
Calculates the remainder of the two arguments and pushes the result on the stack. | Calculates the remainder of the two arguments and pushes the result on the stack. | ||
=== Examples === | === Examples === | ||
- | < | + | < |
ShowTraceLog | ShowTraceLog | ||
10 mod(6) Trace | 10 mod(6) Trace |