Closed koba-e964 closed 2 years ago
I'm not 100% sure that this is worth an issue, but this line causes undefined behavior. (Bitboard does not allow the 1 << 63-bit to be set)
Bitboard
1 << 63
https://github.com/sugyan/yasai/blob/0.4.0/src/bitboard/core.rs#L75
I'm planning to display warnings against such uses in future shogi_core.
shogi_core
Thank you for pointing this out! I changed it to create Bitboards after applying a mask in #18.
I'm not 100% sure that this is worth an issue, but this line causes undefined behavior. (
Bitboard
does not allow the1 << 63
-bit to be set)https://github.com/sugyan/yasai/blob/0.4.0/src/bitboard/core.rs#L75
I'm planning to display warnings against such uses in future
shogi_core
.