Simplify attackUnits formula
authorMarco Costalba <mcostalba@gmail.com>
Tue, 17 Feb 2015 07:23:35 +0000 (08:23 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 17 Feb 2015 07:23:35 +0000 (08:23 +0100)
commit6656ed8904ccf0e20321f9929f2d13fbb7b9223d
tree03fa2ed34f990c146d235520fef2b95bbfbf4e87
parentd65f75c1532536f11a2dfbc0263c55e1beb88c2b
Simplify attackUnits formula

Use '/ 8' instead of '* 31 / 256'

Passed STC
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 55077 W: 10999 L: 10940 D: 33138

And LTC
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 14751 W: 2530 L: 2400 D: 9821

bench: 7911944
src/evaluate.cpp