4 ms·
Java doesn't have unsigned integer types (except byte IIRC), so signed long is your only option. OTOH the bitwise ops are specced to operate as if they operated
by arnsholt 7y ago
Java doesn't have unsigned integer types (except byte IIRC), so signed long is your only option. OTOH the bitwise ops are specced to operate as if they operated on twos complement represented signed integers, so you can at least do that kind of stuff if you need to, on the full 64 bits.
- ddtaylor 7y agobyte is signed, just FYI