Change evaluation score to a centi-pawn based integer type

This commit is contained in:
2026-01-08 18:44:07 +01:00
parent 33a0878f6a
commit e1d1684c23
6 changed files with 218 additions and 170 deletions

View File

@@ -470,12 +470,12 @@ int main()
struct search_result sr = search(b, b->pos.moving_side, 25, &searching);
struct move move = sr.move;
double const score = sr.score;
Score16 const score = sr.score;
printf("move %d: {\n"
" .from = %s, (%s)\n"
" .to = %s,\n"
" .score = %lf,\n"
" .score = %d,\n"
" .mask = "
"",
turn,