]> git.sesse.net Git - stockfish/commitdiff
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)
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.


No differences found