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

The compiler has to assume that your operands might be large enough that they would overflow after a straight multiply.



As acqq/I have mentioned below, there are ways of telling the compiler that the overflow can't multiply so it can freely optimize these away.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: