In message <20000113123246.D30878@alcove.wittsend.com>, "Michael H.
Warfield" w
rites:
+-----
| 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" an
| d
| > | NOT when "year % 400 = 0".
|
| > ...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.
+--->8
Actually, I was referring to the whole general scheme, and the correct
comment should have been "what is so difficult to understand about `(not a)
leap year'?". Point being that it's not necessary to envision double leap
years, etc. when no such are ever mentioned.
I'm really starting to wonder about people's ability to read for
comprehension.
-- 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.- 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/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:23 EST