Arithmetic/Integer: Difference between revisions

m
Fixed Golfscript implementation
(Added GolfScript implementation)
m (Fixed Golfscript implementation)
Line 2,419:
=={{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}}==
175

edits