Commit 529045b6 authored by Victor Zverovich's avatar Victor Zverovich

Fix the build.

parent 7b970285
......@@ -322,7 +322,7 @@ void Formatter::FormatDouble(T value, const FormatSpec &spec, int precision) {
sign = (spec.flags & PLUS_FLAG) != 0 ? '+' : ' ';
}
if (isnan(value)) {
if (value != value) {
// Format NaN ourselves because sprintf's output is not consistent
// across platforms.
std::size_t size = 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment