Skip to content

fix: clear garbage bits before cast short integer to float#2813

Merged
HerrCai0907 merged 2 commits intoAssemblyScript:mainfrom
HerrCai0907:fix/2812
Jan 15, 2024
Merged

fix: clear garbage bits before cast short integer to float#2813
HerrCai0907 merged 2 commits intoAssemblyScript:mainfrom
HerrCai0907:fix/2812

Conversation

@HerrCai0907
Copy link
Copy Markdown
Member

Fixes #2812.

Co-authored-by: CountBleck <Mr.YouKnowWhoIAm@protonmail.com>
@HerrCai0907 HerrCai0907 merged commit 67579de into AssemblyScript:main Jan 15, 2024
@HerrCai0907 HerrCai0907 deleted the fix/2812 branch January 15, 2024 04: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.

The results of arithmetic operations with u8 are not truncated to 8 bits, when assigned to f64

2 participants