rust-lang/rust — pull request #16425 by nham (2014-08-11 19:17:08+00:00)
Title: Change std::fmt::{Float,LowerExp,UpperExp} to not print '-NaN' for NANs

Currently, this:

println!("{}", std::f64::NAN);

prints "-NaN". This commit is an attempt to fix that.