]> git.sesse.net Git - stockfish/commitdiff
Replace std::mins/max with clamp function (#2062)
authorprotonspring <mike@whiteley.org>
Sun, 31 Mar 2019 08:48:27 +0000 (02:48 -0600)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Sun, 31 Mar 2019 08:48:27 +0000 (10:48 +0200)
Adding a clamp function makes some of these range limitations a bit prettier and removes some #include's.

STC
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 28117 W: 6300 L: 6191 D: 15626
http://tests.stockfishchess.org/tests/view/5c9aa1df0ebc5925cfff8fcc

Non functional change.


No differences found