Post Reply 
WP34s: date functions and negative years
01-24-2015, 10:51 PM
Post: #21
RE: WP34s: date functions and negative years
(01-24-2015 10:16 PM)Dieter Wrote:  So another fix will be required that sets the limit from year –4799 to –4712. That's the year starting with JDN 0. If I got it right, it seems to be line 120 in date.c. ;-)

Oops, got the start date for the JDN incorrect. For some reason I thought it was -4799. Oh well, fixed now.


Quote:BTW, I see there is a compiler option INCLUDE_EASTER with code for calculating the easter date. Great! Why is this useful function missing in the current releases?

Walter was adamant that this function was not useful.


Quote:The code also shows that the LEAP? test accepts either an integer year in X or a date in the currently set format. I always thought that the former was required while the manual says the latter is needed ("Takes x as a date in the format selected, extracts the year, and tests for a leap year"). Actually LEAP? works in both cases. Walter?

Just a case of being more useful where possible.


- Pauli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WP34s: date functions and negative years - Paul Dale - 01-24-2015 10:51 PM



User(s) browsing this thread: 3 Guest(s)