Re:FizzleFade
by sheldor on Tuesday August 29, 2017 @09:10AM
(#15123988)
Integer division will give a rounded result instead of floor
[ Parent
| on HN ]
I think they're going for the ceiling here, not the floor. Truncation of positive values should be the same as a floor function.
Yes, I wrote the example. Then realized it was different and corrected only half of it.
Not in C..?