home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: talk.bizarre
- Path: sparky!uunet!iWarp.intel.com|ichips!sedona!bhoughto
- From: bhoughto@sedona.intel.com (Blair P. Houghton)
- Subject: Re: Top tips
- Message-ID: <1992Aug20.062132.29517@ichips.intel.com>
- Keywords: Olivia Newton-John, Linda Ronstadt
- Sender: news@ichips.intel.com (News Account)
- Organization: Intel Corp., Chandler, Arizona
- References: <MJD.92Aug18180241@saul.cis.upenn.edu> <Bt8q6u.AGD@news.cso.uiuc.edu> <Bt9CHq.36D@jfwhome.FUNHOUSE.COM>
- Date: Thu, 20 Aug 1992 06:21:32 GMT
- Lines: 19
-
- In article <Bt9CHq.36D@jfwhome.FUNHOUSE.COM> jfw@jfwhome.FUNHOUSE.COM (John F. Woods) writes:
- >Important trivium: every UNIX(X)* program that uses the famous
- >#define isleap(x) ((x%4)==0 && ((x%100) != 0 || (x%400) == 0))
- >on UNIX(X) time_t values (32-bit integer seconds since 00:00 Jan 1 1970 GMT)
- >is wasting its time
-
-
- >because
-
-
- >there are no years within the 32-bit UNIX(X)
- >time span for which
- >#define isleap(x) ((x%4)==0)
- >is incorrect.
-
- Can I interest you in an optimizing compiler?
-
- --Blair
- "Neural networks done newt-cheap."
-