Nothing overkill about using a module.
use Math::BigInt; sub bin2dec { my ($bin) = @_; return Math::BigInt->new("0b$bin"); }
In reply to Re: bin2dec for big numbers
by TilRMan
in thread bin2dec for big numbers
by spurperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |