Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sum of multiple 32bit does not fit into one 32bit variable #1

Open
carlos-ddd opened this issue Feb 25, 2024 · 0 comments
Open

Sum of multiple 32bit does not fit into one 32bit variable #1

carlos-ddd opened this issue Feb 25, 2024 · 0 comments

Comments

@carlos-ddd
Copy link

Variable "Sum" should be of type uint64_t and not uint32_t since addition of multipe uint32_t (History) will untedetcedly overflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant