in reply to Re: Converting an array of bytes into a BigInt - speed considerations
in thread Converting an array of bytes into a BigInt - speed considerations
Result:use Math::BigInt; use Data::Dumper; print Dumper +Math::BigInt->new(1)->blsft(8); print $Math::BigInt::VERSION;
OTOH, $tmp is a bigint object. Hmm...$VAR1 = '+256'; 0.01
OK, no reason to panic:
does seem to work alright.$result = 1; $result += new Math::BigInt('1234567890' x 10);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Converting an array of bytes into a BigInt - speed considerations
by jmcnamara (Monsignor) on Jan 23, 2003 at 14:05 UTC |