Skip to content

from_str is broken with negative floats #18706

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

Closed
SimonSapin opened this issue Nov 6, 2014 · 3 comments
Closed

from_str is broken with negative floats #18706

SimonSapin opened this issue Nov 6, 2014 · 3 comments

Comments

@SimonSapin
Copy link
Contributor

In today’s nightly, from_str::<f64>("-2") returns -12.0

@SimonSapin
Copy link
Contributor Author

Based on timing for the breaking and git log, 01ded58 is suspicious. CC @bjz

@sfackler
Copy link
Member

sfackler commented Nov 6, 2014

Dup of #18659

@sfackler sfackler closed this as completed Nov 6, 2014
@alexcrichton
Copy link
Member

I think this is a dupe of #18659

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

No branches or pull requests

3 participants