Searched refs:BITS_PER_INT (Results 1 - 1 of 1) sorted by relevance

/openbsd-current/games/gomoku/
H A Dpickmove.c41 #define BITS_PER_INT (sizeof(int) * CHAR_BIT) macro
42 #define MAPSZ (BAREA / BITS_PER_INT)
44 #define BIT_SET(a, b) ((a)[(b)/BITS_PER_INT] |= (1 << ((b) % BITS_PER_INT)))
45 #define BIT_CLR(a, b) ((a)[(b)/BITS_PER_INT] &= ~(1 << ((b) % BITS_PER_INT)))
46 #define BIT_TEST(a, b) ((a)[(b)/BITS_PER_INT] & (1 << ((b) % BITS_PER_INT)))

Completed in 63 milliseconds