Combinations and permutations: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: Fix comments: Perl 6 --> Raku) |
||
Line 1,621: | Line 1,621: | ||
=={{header|Perl}}== |
=={{header|Perl}}== |
||
Although |
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 |
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 |
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}}== |