Wp34s date from DOY
|
11-04-2015, 04:33 PM
(This post was last modified: 11-04-2015 04:50 PM by fhub.)
Post: #12
|
|||
|
|||
RE: Wp34s date from DOY
(11-04-2015 12:16 PM)ggauny@live.fr Wrote: This is only for Fhub/Franz.Hi GĂ©rard! This is one of the problems I don't really like, because you just need to put a long and complicated formula into a calculator program - simply boring. And there's not much to 'optimize' apart from the usual tricks (using register arithmetics, complex registers etc.) Since your picture doesn't really say what the result should be, I've found the following website which seems to use the same algorithm (but more clearly), and I've made the program 'GED' (Gregorian Easter Date) from these formulas: http://ghiorzi.org/easterda.htm It has 74 steps (incl. the subroutine 'LBL 00' which calculates 'div' in X and 'mod' in Y) - maybe it could be shortened by a few steps with some more optimizations (certainly not more than 3 or 4, I guess), but I think it's not worth trying this. Code:
Franz |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Wp34s date from DOY - ggauny@live.fr - 11-03-2015, 05:37 PM
RE: Wp34s date from DOY - fhub - 11-03-2015, 06:15 PM
RE: Wp34s date from DOY - ggauny@live.fr - 11-03-2015, 07:40 PM
RE: Wp34s date from DOY - ggauny@live.fr - 11-03-2015, 07:47 PM
RE: Wp34s date from DOY - Dieter - 11-03-2015, 08:05 PM
RE: Wp34s date from DOY - ggauny@live.fr - 11-03-2015, 08:21 PM
RE: Wp34s date from DOY - ggauny@live.fr - 11-03-2015, 08:22 PM
RE: Wp34s date from DOY - ggauny@live.fr - 11-03-2015, 08:29 PM
RE: Wp34s date from DOY - Dieter - 11-03-2015, 08:33 PM
RE: Wp34s date from DOY - ggauny@live.fr - 11-03-2015, 08:51 PM
RE: Wp34s date from DOY - ggauny@live.fr - 11-04-2015, 12:16 PM
RE: Wp34s date from DOY - fhub - 11-04-2015 04:33 PM
RE: Wp34s date from DOY - Dieter - 11-05-2015, 01:30 PM
RE: Wp34s date from DOY - fhub - 11-05-2015, 02:55 PM
|
User(s) browsing this thread: 1 Guest(s)