I learned a lot from your code. Kudos
There are many ways to to solve every problem. Sometimes the factor is easy to see and it drops right out of the equation.
Ehh. I like playing with vectors and have a weird coding style. My AVX version. https://github.com/schmide/sumint/blob/main/sumint.cpp
I learned a lot from your code. Kudos
There are many ways to to solve every problem. Sometimes the factor is easy to see and it drops right out of the equation.
Ehh. I like playing with vectors and have a weird coding style. My AVX version. https://github.com/schmide/sumint/blob/main/sumint.cpp