Hacker News new | past | comments | ask | show | jobs | submit login

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: