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