vec icon indicating copy to clipboard operation
vec copied to clipboard

Multiplication result may overflow

Open luke-goddard opened this issue 5 years ago • 0 comments

A multiplication result that is converted to a larger type can be a sign that the result can overflow the type converted from. Use a cast to ensure that the multiplication is done using the larger integer type to avoid overflow.

luke-goddard avatar May 31 '20 17:05 luke-goddard