]> git.sesse.net Git - stockfish/commit
Don't need floor() in timeman.cpp
authorMarco Costalba <mcostalba@gmail.com>
Sun, 27 Apr 2014 17:10:00 +0000 (19:10 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 27 Apr 2014 17:10:00 +0000 (19:10 +0200)
commit9f2a64abd265e1231b02cae442c9631a3dfd63fb
treef9297bfb5d0a228123e4d8057b638ed6710d7800
parent93e3b06fe2d441d7011068712fddbc8bf46ce4ec
Don't need floor() in timeman.cpp

For positive numbers result is equivalent:
http://stackoverflow.com/questions/3300290/cast-to-int-vs-floor

Spotted by Joseph Ellis.

No functional change.
src/timeman.cpp