mozilla/rust — pull request #2205 by grahame (2012-04-14 18:27:54+00:00)
Title: add inf/-inf/NaN parsing to float::from_str

add tests for "inf"/"-inf"/"NaN" conversion
add tests for "-0." -> -0., "0." -> 0.

This should fix #2165, except for the mantissa request which is covered as a different issue (#1433).