Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
LoganDark
3y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
morelisp
3y ago
At the point where you're writing `>>>` to, ironically, do proper arithmetic - you should probably write a correct version without a shift instead.
j
/
k
navigate · click thread line to collapse