Make sure not to cast the sum result to integer if you care about 32-bit users. You can cast it to float, however.