X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.h;h=85852e5e5b8567557a75ac289025073a2df61ef3;hp=2b9161250f5fb8277ba4f2deac1e012646cec331;hb=46a50cbf38bdfa5e48358585f4c98668507700ae;hpb=cc2b3ece5c5d8d1183f8526fbb0ee4e1ea7a69fe diff --git a/src/bitboard.h b/src/bitboard.h index 2b916125..85852e5e 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -214,6 +214,7 @@ inline bool single_bit(Bitboard b) { return !(b & (b - 1)); } + /// first_1() finds the least significant nonzero bit in a nonzero bitboard. /// pop_1st_bit() finds and clears the least significant nonzero bit in a /// nonzero bitboard.