The Life of a Programmer

The trouble with `floor` and `ceil`

floor and ceil have the bad habit of producing unexpected results. They aren’t broken, but in light of floating point nasties can often result in