mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Convert constants to decimal representation
Hex representation doesn't add any value in those cases. Preserve hex representation where more self-documenting for instance for binary masks values. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1108,7 +1108,7 @@ Value do_evaluate(const Position& pos, Value& margin) {
|
||||
}
|
||||
|
||||
// Winning pawn is unstoppable and will promote as first, return big score
|
||||
Score score = make_score(0, (Value) 0x500 - 0x20 * pliesToQueen[winnerSide]);
|
||||
Score score = make_score(0, (Value) 1280 - 32 * pliesToQueen[winnerSide]);
|
||||
return winnerSide == WHITE ? score : -score;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user