X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;h=94c291f6b5383bd9400e48471f1a1b8c70eb82e4;hp=2766cb333857badd05fe2a7d0baa2d192b17ebb9;hb=c7e7d9217b232eb7d75b083a45f001ef998c9deb;hpb=a8af78c833458adaea64b8fc1035fafbdf4ba083 diff --git a/src/types.h b/src/types.h index 2766cb33..94c291f6 100644 --- a/src/types.h +++ b/src/types.h @@ -255,8 +255,8 @@ inline Score make_score(int mg, int eg) { return Score((mg << 16) + eg); } inline Value mg_value(Score s) { return Value(((s + 0x8000) & ~0xffff) / 0x10000); } /// On Intel 64 bit we have a small speed regression with the standard conforming -/// version. Therefore, in this case we use a faster code in this case that, -/// although not 100% standard compliant it seems to work for Intel and MSVC. +/// version. Therefore, in this case we use faster code that, although not 100% +/// standard compliant, seems to work for Intel and MSVC. #if defined(IS_64BIT) && (!defined(__GNUC__) || defined(__INTEL_COMPILER)) inline Value eg_value(Score s) { return Value(int16_t(s & 0xffff)); }