Uri Blass wrote:
I wonder how often stockfish has a big fail high that is a bad move and note that even if a big fail high from 0.00 evaluation is practically for a move that leads to a draw by the 50 move rule you then you still lose nothing from trusting the fail high.
Uri
Last time I tested enabling TT probe in PV (which fixes this behaviour), the difference was not measurable. And I've never so far observed this behaviour in real games, so there is no need to fix this. Accepting TT scores in PV causes so many difficult problems to deal with that I don't want it.
I suspect that the difference may be bigger at longer time control and I did not suggest to enable TT probe in PV
I suggested only that if you have a big fail high and fail low later at the same depth to trust the fail high and not to change the pv.
Adding extra parentheses to the return statement would not be easier to read.
Redundant parentheses are in most cases bad for clarity.
The above example is an exception from this rule.
All IMHO. (Beauty is in the eye of the beholder)
Yes, that's exactly the reason.
As you and Sven have already pointed out, form the compiler point of view the two versions are identical, but I changed it for clarity.