- // value_from_tt() is the inverse of value_to_tt(): It adjusts a mate or TB score
- // from the transposition table (which refers to the plies to mate/be mated
- // from current position) to "plies to mate/be mated (TB win/loss) from the root".
- // However, for mate scores, to avoid potentially false mate scores related to the 50 moves rule,
- // and the graph history interaction, return an optimal TB score instead.
+ // value_from_tt() is the inverse of value_to_tt(): it adjusts a mate or TB score
+ // from the transposition table (which refers to the plies to mate/be mated from
+ // current position) to "plies to mate/be mated (TB win/loss) from the root". However,
+ // for mate scores, to avoid potentially false mate scores related to the 50 moves rule
+ // and the graph history interaction, we return an optimal TB score instead.