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

Fix handling of signed decimals #60

Merged
merged 1 commit into from
Feb 8, 2025
Merged

Fix handling of signed decimals #60

merged 1 commit into from
Feb 8, 2025

Conversation

platypii
Copy link
Collaborator

@platypii platypii commented Feb 8, 2025

Fixes issue #59

Fixes the handling in parseDecimal to correctly handle signed two's compliment byte arrays.

Adds a test case provided by @Pertempto. Thanks for reporting @Pertempto!

@platypii platypii merged commit 36d8ea2 into master Feb 8, 2025
6 checks passed
@platypii platypii deleted the signed-decimals branch February 8, 2025 02:52
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.

1 participant