Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
mhjkl
· 7mo ago · 0 comments
They didn’t need to wrap it because it’s modular arithmetic so the result after casting to int is the same regardless of wrapping behavior. 4294990000 after wrapping is 22704 and 4294960000 - 22704 = 4294937296 which is -30000 after uint to int cast
Comments
No comments yet.
Better HN