From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,92471489ebbc99c6 X-Google-Attributes: gid103376,public From: dewarr@my-dejanews.com Subject: Re: Y2K Issues Date: 1998/10/27 Message-ID: <713rca$gol$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 405481001 References: <362B53A3.64E266AB@res.raytheon.com> <362B8D2F.802F42E6@lmco.com> <710nnc$jop@felix.seas.gwu.edu> X-Http-Proxy: 1.0 x11.dejanews.com:80 (Squid/1.1.22) for client 202.135.47.101 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Oct 27 07:05:46 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/3.0 (Win95; I) Date: 1998-10-27T00:00:00+00:00 List-Id: In article , Robert A Duff wrote: > I also can't help but point out that two 8-bit quantities can of course > store a year-range of 65,536 years, so something's wrong when somebody > decides to use 16 bits to represent a 100-year range, because they're > short on memory, and 32 bits is too costly. That kind of decision > sounds more "convenient" or "expedient" than "intentional". Any COBOL programmer worrying about space would use two 4-bit fields to hold the date, using COMP-3 (packed decimal), but of course this still allows 256 combinations, and indeed some of the standard Y2K solution approaches use this extra space for coding (a nice solution because it is backwards compatible with existing data files). Robert Dewar -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own