Skip to content

math.big: fix Karatsuba's add_in_place() function, add carry handler on exit#24541

Merged
spytheman merged 1 commit into
vlang:masterfrom
tankf33der:math-big-pow
May 21, 2025
Merged

math.big: fix Karatsuba's add_in_place() function, add carry handler on exit#24541
spytheman merged 1 commit into
vlang:masterfrom
tankf33der:math-big-pow

Conversation

@tankf33der

@tankf33der tankf33der commented May 21, 2025

Copy link
Copy Markdown
Contributor

Found via pow() loop vs. gmp.
Without this patch, these two tests will be unsuccessful.
The 100M loop vs. gmp will be after another patch because numbers have already been found where Karatsuba is unsuccessful.

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-22908

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman

Copy link
Copy Markdown
Contributor

The CI failures are not related, and should be fixed on master.

@spytheman spytheman merged commit c27bc60 into vlang:master May 21, 2025
59 of 70 checks passed
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