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

To reductio ad absurdum, we shouldn't even include arithmetic operators for numerical types because of ambiguities regarding truncating decimal places. After all, myInt1 / myInt2 is dangerously undescriptive so really all integer division should use

Math.DivideToFloat(myInt1, myInt1) or Math.DivideToInteger(myInt1, myInt2)




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

Search: