On Sat, Apr 29, 2000 at 11:36:39PM +0800, Dave Mullen wrote:
>If year / 100 then leap year
>If year / 400 then not leap year
>If year / 1000 then leap year

OK, to complete the mess (I saw your message saying `ignore this',
but I want to throw in my own errors as well ;-) ):

If year % 4 = 0 then leap year
If year % 100 = 0 then not leap year
If year % 400 = 0 then leap year
If year % 10000 = 0 then not leap year

I don't think there are any more conditions than this, but who knows? :-)
Of course, we're forgetting about the leap SECONDS now...

/* Steinar */
-- 
Homepage: http://members.xoom.com/sneeze/
_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers

Reply via email to