695
coding chess (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] Buddahriffic@lemmy.world 1 points 6 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?

this post was submitted on 22 Feb 2024
695 points (96.4% liked)

Programmer Humor

32060 readers
2337 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS