X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fnotation.cpp;h=3f79a44b6290d246a95af9b85506b71aecad0e6a;hp=06573c78ce14424b12f00608c751f8f60095e6f8;hb=984ee9d05b6b1916e564047b2a0b8f117f911bca;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(); }