Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Conversation

@luke-goddard
Copy link

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.

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant