Y
Hacker News
new
|
ask
|
show
|
jobs
by
jcranmer
1074 days ago
Given that all arithmetic autopromotes to int if smaller than int, there's no undefined behavior in this code if int is 32-bits (which is true on most systems).