in reply to Re: bin2dec for big numbers
in thread bin2dec for big numbers
Well no. He is converting a base-2 string to a base-10 string, explicitly working character by character on strings in both cases. Perl is internally doing the base-10 to base-2^32 and back thing as he works through the base-10 digits, but the algorithm itself is indeed bin2dec.
Makeshifts last the longest.
|
|---|