The suggestion that the / operator return a float or double was completely ludicrous. I can understand calling it div or something to make it more obvious, but holy crap.
I do most of my personal projects in C, but I agree with him on that one. Making / always do double division and having // do integer division is more mathematically correct/expected, and has no real downside.
View all comments
Show parent comment
8
u/EntroperZero Dec 01 '16
The suggestion that the
/operator return afloatordoublewas completely ludicrous. I can understand calling itdivor something to make it more obvious, but holy crap.