Y
Hacker News
new
|
ask
|
show
|
jobs
by
gsg
2975 days ago
My guess would be that they were thinking h <= SIZE_MAX / w, and added the most obvious logic to avoid a division by zero.