]> git.sesse.net Git - stockfish/blobdiff - src/types.h
Simplify Singular Extension condition
[stockfish] / src / types.h
index 2fb8fe7ba9e1a250fd5a2a7e92a929d8346824f4..72c5699f1189520b4a178ec07c63246fb49ecafe 100644 (file)
@@ -257,10 +257,10 @@ enum Rank : int {
 };
 
 
-/// Score enum stores a middlegame and an endgame value in a single integer
-/// (enum). The least significant 16 bits are used to store the endgame value
-/// and the upper 16 bits are used to store the middlegame value. Take some
-/// care to avoid left-shifting a signed int to avoid undefined behavior.
+/// Score enum stores a middlegame and an endgame value in a single integer (enum).
+/// The least significant 16 bits are used to store the middlegame value and the
+/// upper 16 bits are used to store the endgame value. We have to take care to
+/// avoid left-shifting a signed int to avoid undefined behavior.
 enum Score : int { SCORE_ZERO };
 
 constexpr Score make_score(int mg, int eg) {