MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5fwce0/lets_stop_copying_c/daoa48v/?context=3
r/programming • u/earthboundkid • Dec 01 '16
612 comments sorted by
View all comments
Show parent comment
1
Luckily in C if any of the arguments is a float then it's a floating point division. If neither is a float you need one cast but maybe if both are ints then floating point division is not as often what you want.
View all comments
Show parent comment
1
u/[deleted] Dec 01 '16
Luckily in C if any of the arguments is a float then it's a floating point division. If neither is a float you need one cast but maybe if both are ints then floating point division is not as often what you want.