HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by mchahn | Hacker News Reader
Parent
Full thread
mchahn
·
Why not round everywhere? Wouldn't this resolve the issue?
View on HN
mortoray
·
Rounding to the nearest value does avoid the problem I had in the article. But we really wanted to `ceil` in this case, to guarantee an element is never smaller than a provided value (and doesn't end up as 0 size).
Reply on news.ycombinator.com