Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim Pieces As ULong = …
- While Pieces <> 0
- Dim PieceSource As SByte = BitOperations.TrailingZeroCount(Pieces)
- Dim BitboardPiece As ULong = 1UL << PieceSource
- ‘Processing whether the information is useful
- Pieces -= BitboardPiece
- End While
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement