![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Re: pack 64 bit int ?by Anonymous Monk |
on Apr 30, 2002 at 18:18 UTC ( #163140=note: print w/replies, xml ) | Need Help?? |
that won't work for negative numbers (which is why I use that ugly if($i<0){} in my attempt).
BigInt (perhaps unfortunately) doesn't seem to use 2's complement.
(eg. -1 results in 00000000ffffffff instead of ffffffffffffffff)
In Section
Seekers of Perl Wisdom
|
|