3 ms·
Java lacks a distinct uint type, but (since Java 8) allows you to perform unsigned operations on a regular int, effectively treating it as a uint. It doesn't h
by LoganDark 4y ago
Java lacks a distinct uint type, but (since Java 8) allows you to perform unsigned operations on a regular int, effectively treating it as a uint.
It doesn't help that almost nobody knows this, though.
- morelisp 4y agoAt the point where you're writing `>>>` to, ironically, do proper arithmetic - you should probably write a correct version without a shift instead.