Combinations and permutations: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (→‎{{header|Perl}}: Fix comments: Perl 6 --> Raku)
Line 1,621: Line 1,621:


=={{header|Perl}}==
=={{header|Perl}}==
Although perl can handle arbitrarily large numbers using Math::BigInt and Math::BigFloat, it's
Although Perl can handle arbitrarily large numbers using Math::BigInt and Math::BigFloat, it's
native integers and floats are limited to what the computer's native types can handle.
native integers and floats are limited to what the computer's native types can handle.


As with the perl6 code, some special handling was done for those values which would have overflowed the native floating point type.
As with the Raku code, some special handling was done for those values which would have overflowed the native floating point type.


<lang perl>use strict;
<lang perl>use strict;
Line 1,678: Line 1,678:
</lang>
</lang>


Since the output is almost the same as perl6's, and this is only a Draft RosettaCode task, I'm not going to bother including the output of the program.
Since the output is almost the same as Raku's, and this is only a Draft RosettaCode task, I'm not going to bother including the output of the program.


=={{header|Phix}}==
=={{header|Phix}}==