RosettaCodeData/Task/Factorial/Perl/factorial-4.pl

4 lines
142 B
Perl
Raw Permalink Normal View History

2015-02-20 00:35:01 -05:00
use ntheory qw/factorial/;
# factorial returns a UV (native unsigned int) or Math::BigInt depending on size
say length( factorial(10000) );