Rectify integer overflow in FLOPS expression.