Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's floor(_) - as in, floor(1.999) = 0, but floor(2.001) = 2. If you look carefully the upper flange of the [] square brackets is missing, which makes it a floor.

https://en.wikipedia.org/wiki/Floor_and_ceiling_functions



> floor(1.999) = 0

it's 1 not 0




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: