Faster leap year code. - Printable Version +- PowerBASIC Users Meeting Point (http://pump.richheimer.de) +-- Forum: User to User Discussions (http://pump.richheimer.de/forumdisplay.php?fid=3) +--- Forum: Source Code Library (http://pump.richheimer.de/forumdisplay.php?fid=8) +--- Thread: Faster leap year code. (/showthread.php?tid=10) |
Faster leap year code. - Dale Yarker - 09-07-2024 This is roughly 3 times faster than the usual three MOD operations method. Code: ! push eax 'for pseudo MOD, dividend and quotient Longer description at: http://www.yarker-dsyc.info/D_Notebook/Programs/Misc/IsLeap-FebruaryDays.html |