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

Optimize multiplication loop #261

Merged
merged 1 commit into from
Mar 11, 2022
Merged

Optimize multiplication loop #261

merged 1 commit into from
Mar 11, 2022

Conversation

chfast
Copy link
Owner

@chfast chfast commented Mar 11, 2022

In the multiplication loop add two uint64_t values with addc() instead of extending to uint128.

In the multiplication loop add two uint64_t values with addc()
instead of extending to uint128.
@codecov-commenter
Copy link

codecov-commenter commented Mar 11, 2022

Codecov Report

Merging #261 (6017a8b) into master (e962c7b) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #261   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         1909      1911    +2     
=========================================
+ Hits          1909      1911    +2     
Flag Coverage Δ
32bit 100.00% <100.00%> (ø)
gcc 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
include/intx/intx.hpp 100.00% <100.00%> (ø)

@chfast chfast merged commit b05e8a1 into master Mar 11, 2022
@chfast chfast deleted the mulopt branch March 11, 2022 13:50
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

Successfully merging this pull request may close these issues.

2 participants