Hacker News new | ask | show | jobs
by andreasvc 4445 days ago
I think it's better to think of it as division being an operation that returns the appropriate type for the operation, i.e., a float where necessary. The type of the operands remain unchanged so "upcasting" is not applicable if you ask me.