X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fnotation.cpp;h=3f79a44b6290d246a95af9b85506b71aecad0e6a;hp=06573c78ce14424b12f00608c751f8f60095e6f8;hb=281472e50e5685c6667eb7552bbcb2ef5e012d9f;hpb=cca34e234cc98ed4b61e75a25f8cd0d917c2a3fa diff --git a/src/notation.cpp b/src/notation.cpp index 06573c78..3f79a44b 100644 --- a/src/notation.cpp +++ b/src/notation.cpp @@ -207,7 +207,7 @@ static string score_to_string(Value v) { s << "-#" << (VALUE_MATE + v) / 2; else - s << setprecision(2) << fixed << showpos << float(v) / PawnValueMg; + s << setprecision(2) << fixed << showpos << double(v) / PawnValueMg; return s.str(); }