Check Overflow
Extra caution should be exercised when performing addition, subtraction, or division operations. For instance, it's important to verify that an overflow hasn't occurred in cases where it could potentially happen.
Coming soon addition and subtraction operations, accompanied by a resulting gtBool value indicating overflow.
Avoid:
Do : Check that the result is greater than one of the operands, return zero for example on overflow
Last updated