Hacker News new | ask | show | jobs
by parliament32 2133 days ago
I prefer "ceiling" and "floor", but yes, agreed.
2 comments

Those also happen to be fairly common names for operations (rounding up or down to nearest integer).
I use ceil/floor (and make people use whenever I can) if something is going to happen when something hits the ceiling or drops to the floor. And avoid if it is just for clamping.