Moderator: Andres Valverde
Teemu Pudas wrote:Because the attack bitboards are incompatible: if a1=0, one is b1|a2|a3|a4 and the other is (rank1^b1)|b2.
0x000001000100001A * 0x00A801F7FBFEFFFF => 0x080C312F96E5FFE6
0x0000020000000200 * 0xFFB000810113FFFF => 0x8801000227FFFE00
0x080 + 5630 => 0x167E
0x880 + 3582 => 0x247C
Gerd Isenberg wrote:0x080 + 5630 => 0x167E
0x880 + 3582 => 0x247C
Teemu Pudas wrote:Gerd Isenberg wrote:0x080 + 5630 => 0x167E
0x880 + 3582 => 0x247C
0x247C - 3582 == 0x167E, not 0x880.
0x080 + 5630 => 0x167E
0x880 + 3582 => 0x167E
Teemu Pudas wrote:Because the attack bitboards are incompatible: if a1=0, one is b1|a2|a3|a4 and the other is (rank1^b1)|b2.
Return to Programming and Technical Discussions
Users browsing this forum: No registered users and 12 guests