Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bitboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ static const int BitTable[64] = {
Square first_1(Bitboard b) {
b ^= (b - 1);
uint32_t fold = int(b) ^ int(b >> 32);
return Square(BitTable[(fold * 0x783a9b23) >> 26]);
return Square(BitTable[(fold * 0x783a9b23) >> 26]);// i'm sorry but i just wanted to ask how does this exactly work you got another nagic number 0x783A9B23 other than the one here https://chessprogramming.wikispaces.com/BitScan#MattTaylorsFoldingtrick so i think you know how this work or some resource for it and thanks
}


Expand Down