Arithmetic/Integer: Difference between revisions
Added GolfScript implementation
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
Jazzedpineda (talk | contribs) (Added GolfScript implementation) |
||
Line 2,416:
-5 mod 3 = 1
</pre>
=={{header|Golfscript}}==
Quotients round towards negative infinity. Remainders match the sign of the second operand.
<syntaxhighlight lang="golfscript">n/~~:b;~:a;a b+n a b-n a b*n a b/n a b%n a b^</syntaxhighlight>
=={{header|Groovy}}==
|