]> git.sesse.net Git - stockfish/commit
Clarify stats range
authorMarco Costalba <mcostalba@gmail.com>
Fri, 18 Aug 2017 09:02:35 +0000 (02:02 -0700)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 18 Aug 2017 09:02:35 +0000 (02:02 -0700)
commit9c35b9365d75a3522cee47536419534b1de91f48
tree6d14352614eb7069934353e83f3e446b96994f5d
parent01d97521fd675ed157ff7d61e6057916abbcc56c
Clarify stats range

Current update formula ensures that the
possible value range is [-32 * D, 32 * D].

So we never overflow if abs(32 * D) < INT16_MAX

Thanks to Joost and mstembera to clarify this.

No functional change.
src/movepick.h