Mod: Difference between revisions

Content added Content deleted
(move outside links to citations)
mNo edit summary
Line 1: Line 1:
{{primitive|x!y}}
{{primitive|x!y}}
The '''Mod''', '''Modulo''', '''Remainder''' or '''Residue'''<ref>https://aplwiki.com/wiki/Residue</ref>) function, denoted by <code>!</code>, is used for modulo in K.
The '''Mod''', '''Modulo''', '''Remainder''' or '''Residue'''<ref>https://aplwiki.com/wiki/Residue</ref> function, denoted by <code>!</code>, is used for modulo in K.


Up until the K4 dialect, the modulo operator was [[Atomicity|left atomic]] on account of the [[rotate]] overload.
Up until the K4 dialect, the modulo operator was [[Atomicity|left atomic]] on account of the [[rotate]] overload.