Unusually good result. Defenitly needs further verifications.
After 2160 games at 15"+0.05
Mod vs Orig 486 - 367 - 1307 ELO +19
bench:
6261882
/// | only in 64-bit mode. For compiling requires hardware with
/// | popcnt support.
+#include <cassert>
#include <cctype>
#include <climits>
#include <cstdlib>
BOUND_NONE = 0,
BOUND_UPPER = 1,
BOUND_LOWER = 2,
- BOUND_EXACT = BOUND_UPPER | BOUND_LOWER
+ BOUND_EXACT = BOUND_UPPER | BOUND_LOWER | 4
};
enum Value {
}
inline Color color_of(Piece p) {
- return p == NO_PIECE ? NO_COLOR : Color(p >> 3);
+ assert(p != NO_PIECE);
+ return Color(p >> 3);
}
inline bool is_ok(Square s) {