Mod: Difference between revisions
move outside links to citations
(Created page with "{{primitive|x!y}} The '''Mod''', '''Modulo''', '''Remainder''' or '''Residue''' (see [https://aplwiki.com/wiki/Residue APL])) function, denoted by <code>!</code>, is used for...") |
(move outside links to citations) |
||
Line 1:
{{primitive|x!y}}
The '''Mod''', '''Modulo''', '''Remainder''' or '''Residue'''
Up until the K4 dialect, the modulo operator was [[Atomicity|left atomic]] on account of the [[rotate]] overload.
From K5 onward, the modulo primitive is [[Atomicity|right atomic.]]<ref>[https://chat.stackexchange.com/transcript/message/58587397#58587397 JohnEarnest on the order of arguments for mod in K]</ref>▼
<pre>
Line 15 ⟶ 19:
1 2 0 1 2 0 1 2 0 1 2 0
</pre>
== References ==
▲[https://chat.stackexchange.com/transcript/message/58587397#58587397 JohnEarnest on the order of arguments for mod in K]
|