in reply to BigInt, some of the time
my $LIM = 2**32 -1; my $int = $num > $LIM ? Math::BigInt->new($num) : $num;
Another solution is to just compile perl with 64 bit support which give you really big ints....
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: BigInt, some of the time
by John M. Dlugosz (Monsignor) on Feb 04, 2004 at 03:42 UTC |