You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
<f64 as FromStr> produces incorrect results in some cases #23505
Here the compiler produces the correct result for the literal value but the runtime parsing function produces a different, incorrect result. The difference is tiny, but of course it is enough to cause problems :)
For the record, here is the output of rustc --version --verbose on my system:
Activity
lifthrasiir commentedon Mar 19, 2015
I assume this is a duplicate of #7648. We have really hairy decimal to floating point routine right now.
JRoush commentedon Mar 19, 2015
@lifthrasiir Whoops, looks like you are right.
steveklabnik commentedon Mar 19, 2015
closing as duplicate
Merge pull request rust-lang#23505 from lnicola/sync-from-rust