aboutsummaryrefslogtreecommitdiff
path: root/src/bitboard.h
blob: 6b89c84722e79bd53d0d87399341358ecc714e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "types.h"

typedef U64 Bitboard;
#define BIT (U64)1

int popCount(Bitboard bb);

void printBitboard(Bitboard bb);

Bitboard ls1b(Bitboard bb);

int bitscan(Bitboard bb);

int bitscanAndReset(Bitboard* bb);