`float::from_str(" ")` (the input is a string of two space characters) returns NaN in Rust. It should return 0.0. `float::from_str(" ")` (with just one space character) returns 0.0. There is a test in stdtest/float.rs that should have caught this bug, but it is falsely passing because (NaN == 0.0) is true (#1083).