in reply to
-1 from hex ffffffffffffffff ?
Yes -1 is represented as all bits turned on. If you were to add "1" to this, you get a carry bit and all the bits turn to "0". I explained some of this binary math at
Re^3: long integer to hexadecimal conversion
.
Comment on
Re: -1 from hex ffffffffffffffff ?
Replies are listed 'Best First'.
Re^2: -1 from hex ffffffffffffffff ?
by
Spooky
(Beadle)
on Oct 02, 2009 at 16:12 UTC
...thanks for the info!
[reply]
In Section
Seekers of Perl Wisdom