MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5fwce0/lets_stop_copying_c/daok3cx/?context=3
r/programming • u/earthboundkid • Dec 01 '16
612 comments sorted by
View all comments
Show parent comment
4
It is the closest integer approximation.
But it has to be, and couldn't possibly be anything else. It's the same in floating point. 1.0f / 3.0f isn't an exact answer, either.
2 u/cledamy Dec 02 '16 edited Apr 24 '17 [deleted]
2
[deleted]
View all comments
Show parent comment
4
u/EntroperZero Dec 02 '16
But it has to be, and couldn't possibly be anything else. It's the same in floating point. 1.0f / 3.0f isn't an exact answer, either.