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

Fixes rescale allowing zeros to scale greater than the maximum possible precision #566

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

paupino
Copy link
Owner

@paupino paupino commented Jan 13, 2023

Fixes #564

This fixes a problem whereby a very small number/zero could potentially be parsed with an invalid scale above the maximum precision. Since this is inferred in other parts of the code this could cause unexpected behavior (as seen in #564).

@paupino paupino enabled auto-merge (squash) January 13, 2023 23:34
@paupino paupino merged commit bc8b53a into master Jan 13, 2023
@paupino paupino deleted the f/fix-rescale-max branch January 13, 2023 23:45
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.

to_f64 panics when scale is large
1 participant