RosettaCodeData/Task/Factorial/Perl/factorial-4.pl
2015-02-20 00:35:01 -05:00

3 lines
142 B
Perl

use ntheory qw/factorial/;
# factorial returns a UV (native unsigned int) or Math::BigInt depending on size
say length( factorial(10000) );