Replacing 'depth - 1' with 'newDepth' in the singularbeta formula
utilizes existing variables more succinctly.
closes https://github.com/official-stockfish/Stockfish/pull/4876
No functional change
&& tte->depth() >= depth - 3)
{
Value singularBeta = ttValue - (64 + 57 * (ss->ttPv && !PvNode)) * depth / 64;
&& tte->depth() >= depth - 3)
{
Value singularBeta = ttValue - (64 + 57 * (ss->ttPv && !PvNode)) * depth / 64;
- Depth singularDepth = (depth - 1) / 2;
+ Depth singularDepth = newDepth / 2;
ss->excludedMove = move;
value =
ss->excludedMove = move;
value =