64-bit integer

Hi,
I’m doing a lot of bitwise operations and I need numbers that are truly
64
bits. My problem is that I can’t seem to contain them as such. If I
shift
off the left or right side, I want the bits to just fall off and
disappear.
And of course I’d rather not have to constantly be doing “self
& 0xffffffffffffffff”. Any suggestions?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs