Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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
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 chanting in the Monastery: (9)
As of 2021-03-01 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?