lkml.org 
[lkml]   [2000]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [svlug] February 30th 2000
On Wed, Jan 12, 2000 at 07:58:46PM -0500, Brandon S. Allbery KF8NH wrote:
[...]
> | February has 29 days when "year % 4 = 0", except when "year % 100 = 0" and
> | NOT when "year % 400 = 0".
> +--->8

> ...in which case February ends on the 28th as usual. What is so difficult
> to understand about "not a leap year"?

I think you failed to parse the double negative. He's saying not
a leap year when "year % 100 == 0" and is a leap year (he means NOT the
"except") when "year % 400", so February ends on the 29th.

> --
> brandon s. allbery os/2,linux,solaris,perl allbery@kf8nh.apk.net
> system administrator kthkrb,heimdal,gnome,rt allbery@ece.cmu.edu
> carnegie mellon / electrical and computer engineering kf8nh
> We are Linux. Resistance is an indication that you missed the point.

Mike
--
Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com
(The Mad Wizard) | (770) 331-2437 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.108 / U:1.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site