]> git.sesse.net Git - stockfish/blobdiff - src/rkiss.h
Revert "Retire null search verification"
[stockfish] / src / rkiss.h
index 23bd614e5ced789619dcaa1023c84f7fa4556ce7..b9b82cef4fc5b1ad4b434f61d7225747bc7aa9b8 100644 (file)
@@ -45,15 +45,15 @@ class RKISS {
 
   uint64_t a, b, c, d;
 
-  uint64_t rotate(uint64_t x, uint64_t k) const {
+  uint64_t rotate_L(uint64_t x, unsigned k) const {
     return (x << k) | (x >> (64 - k));
   }
 
   uint64_t rand64() {
 
-    const uint64_t e = a - rotate(b,  7);
-    a = b ^ rotate(c, 13);
-    b = c + rotate(d, 37);
+    const uint64_t e = a - rotate_L(b,  7);
+    a = b ^ rotate_L(c, 13);
+    b = c + rotate_L(d, 37);
     c = d + e;
     return d = e + a;
   }