Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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??


in reply to Re: pack 64 bit int ?
in thread pack 64 bit int ?

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)

Replies are listed 'Best First'.
Re: Re: Re: pack 64 bit int ?
by frankied (Beadle) on Apr 30, 2002 at 18:23 UTC
    (mental note to login before submitting)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://163140]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2021-10-18 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (73 votes). Check out past polls.

    Notices?