This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
crpl:docs:mod [2021/02/05 11:43] – Rmoved discussion tag Karsten75 | crpl:docs:mod [2022/07/05 14:25] (current) – Reformat Karsten75 | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== 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 |