Login
From:
hueffner.de
(Uncensored)
subscribe
A leap year check in three instructions
https://hueffner.de/falk/blog/a-leap-year-check-in-three-instructions.html
links
backlinks
Tagged with:
compilers
formalmethods
Roast topics
Find topics
Find it!
How to test for leap years (until year 102499) in the proleptic Gregorian calendar with just three 32-bit instructions, with detailed explanation of the bit-level tricks.