Arithmetic/Integer: Difference between revisions

m
(Added Perl 6.)
Line 669:
say 'integer quotient: ', $a div $b;
say 'remainder: ', $a % $b;
say 'exponentationexponentiation: ', $a**$b;</lang>
 
Note that <code>div</code> doesn't always do integer division; it performs the operation "most appropriate to the
845

edits