]> git.lizzy.rs Git - rust.git/commit
auto merge of #16425 : nham/rust/fix_nan_format, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 12 Aug 2014 07:31:17 +0000 (07:31 +0000)
committerbors <bors@rust-lang.org>
Tue, 12 Aug 2014 07:31:17 +0000 (07:31 +0000)
commitc1eaafe8ab2114dd10d87a4983e1263c844f782f
treec87e3beb08867c30adf74337e5996fbde99730c9
parente8204a84c7f365533c217b4882bbe0cbce5a34e3
parent04233a1675272d4a21440943f1441b586cdf0afd
auto merge of #16425 : nham/rust/fix_nan_format, r=alexcrichton

Currently, this:

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

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