Skip to content

math.unsigned: fix lsh() for uint256, add tests#24867

Merged
spytheman merged 1 commit into
vlang:masterfrom
tankf33der:master
Jul 8, 2025
Merged

math.unsigned: fix lsh() for uint256, add tests#24867
spytheman merged 1 commit into
vlang:masterfrom
tankf33der:master

Conversation

@tankf33der

@tankf33der tankf33der commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

lsh() for uint256 is broken.
The same mechanism as used for uint128 is used for the fix.
Now passed big loop against gmplib.

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-23300

@spytheman

Copy link
Copy Markdown
Contributor

The CI job failure for gcc-windows is unrelated (it is due to a flaky new test).

@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 spytheman merged commit 499283e into vlang:master Jul 8, 2025
78 of 79 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