RosettaCodeData/Task/Factorial/Perl/factorial-4.pl
2023-07-01 13:44:08 -04: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) );