4 ms·
nah, bigint is just another wall you may hit bc/dc arbitrary precision calculators are usually installed by default on *nix platforms and they handle numbers
by emergie 7y ago
nah, bigint is just another wall you may hit
bc/dc arbitrary precision calculators are usually installed by default on *nix platforms and
they handle numbers with thousands of digits
$ time echo '12345^67890' |bc |wc -c
285941
real 0m2.137s
user 0m2.128s
sys 0m0.012s
- HALtheWise 7y agoPython's default number implementation has full support for arbitrarily large numbers, and will allocate more memory as needed to do so, making the original claim correct.