[comp.sys.ibm.pc] When Does The Sun Come Up?

Isaac_K_Rabinovitch@cup.portal.com (02/16/88)

Back in 1981 or thereabouts, Byte published the CBASIC source for
a program that will tell you when the sun rises and sets, given
the day of the year and some geographic data.  That's be useful
for me.  I don't need one of those complicated astronomy programs,
and would like to be able to just ask my system "when will the sun
rise tommorow".  Probably I should just buy the Farmer's Almanac
every year and put up with the longitudinal error, but that might
damage my status as a compulsively high-tech individual.  

Translating the program from CBASIC to some more common language
is technically simple enough, but is a big, boring, bug-producing
job, since the program is a long one.  I might actually do it
one of these days, but first I should find out if anybody else has
(or if someone who knows the math just sat down and wrote the
same program in C).  Hello?

Isaac Rabinovitch
isaac.rabinovitch@cup.portal.com
ucbvax!sun!cup.portal.com!isaac.rabinovitch
Disclaimer:  Just because I think you're wrong, doesn't
             mean I don't think you're a fun person!
:-)