Skip to content

Commit 7c52912

Browse files
Update Int.pod6
1 parent 1fd4b0f commit 7c52912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Int.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ the method is called on a non-C<Int> number.
105105
say ⅔.polymod(⅓); # OUTPUT: «(0 2)␤»
106106
say 5.Rat.polymod(.3, .2); # OUTPUT: «(0.2 0 80)␤»
107107
108-
my @digits-in-base37 = 9123607.polymod(37 xx *);
109-
say @digits-in-base37.reverse # OUTPUT: «[4 32 4 15 36]␤»
108+
my @digits-in-base37 = 9123607.polymod(37 xx *); #Base conversion
109+
say @digits-in-base37.reverse # OUTPUT: «[4 32 4 15 36]␤»
110110
111111
112112
To illustrate how the C<Int>, non-lazy version of polymod works, consider

0 commit comments

Comments
 (0)