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