We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c0c062 commit 454bcfdCopy full SHA for 454bcfd
doc/Language/operators.pod6
@@ -1164,7 +1164,7 @@ Please note that this has not yet been implemented.
1164
multi sub infix:<gcd>($a, $b --> Int:D)
1165
1166
Coerces both arguments to L<Int|/type/Int> and returns the greatest common divisor.X<|greatest common divisor operator>
1167
-If one of its arguments is 0, then the second one is returned. If both arguments are 0, it returns 0.
+If one of its arguments is 0, the other is returned (when both arguments are 0, the operator returns 0).
1168
1169
=head2 infix C«lcm»
1170
0 commit comments