Skip to content

math.unsigned: fix put_bytes()#25718

Merged
spytheman merged 1 commit into
vlang:masterfrom
tankf33der:put_bytes
Nov 12, 2025
Merged

math.unsigned: fix put_bytes()#25718
spytheman merged 1 commit into
vlang:masterfrom
tankf33der:put_bytes

Conversation

@tankf33der

Copy link
Copy Markdown
Contributor

The two-line patch speaks for itself and test can not pass on master.

p.s. I'm not sure if I have the right(s) to include and rely on the rand module for random numbers, but it can always be redone.

@spytheman

spytheman commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

p.s. I'm not sure if I have the right(s) to include and rely on the rand module for random numbers, but it can always be redone.

There is no problem - you can import whatever you need in the tests; it does not affect other users of the module (each _test.v file is compiled as a separate program, independent from the rest).

@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.
Thank you @tankf33der .

@spytheman spytheman merged commit ee9eefd into vlang:master Nov 12, 2025
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