3 ms·
The compiler has to assume that your operands might be large enough that they would overflow after a straight multiply.
by bdonlan 8y ago
The compiler has to assume that your operands might be large enough that they would overflow after a straight multiply.
- saagarjha 8y agoAs 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.