coding chess - eviltoast
  • Buddahriffic@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    Awesome, thank you for that link. I should have guessed this was a thing but it hadn’t even occurred to me.

    And yeah, it is surprising that clang doesn’t treat mod power of 2 as a special case. It looks like I can’t type in code on mobile, does clang handle divide by power of 2 as a idiv or shift?