CID 34788: Division or modulo by float zero (DIVIDE_BY_ZERO)
sum which may be zero has undefined behavior.