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

Improved radix parsing to support max precision predictions #248

Merged
merged 2 commits into from
May 20, 2020
Merged

Conversation

paupino
Copy link
Owner

@paupino paupino commented May 20, 2020

Fixes #242

Previously, the exit condition for parsing strings was really conservative. This opens it up and attempts to only round if needed (i.e. on underflow as opposed to overflow).

@paupino paupino merged commit 71d7d93 into master May 20, 2020
@paupino paupino deleted the fix/242 branch May 20, 2020 04:07
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.

Incorrect behavior in from_str_radix
1 participant