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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 101deb,3488d9e5d292649f X-Google-Attributes: gid101deb,public X-Google-Thread: 103376,e6a2e4a4c0d7d8a6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-22 18:37:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!gestalt.direcpc.com!cyclone2.usenetserver.com!news.webusenet.com!news01.optonline.net!news4.srv.hcvlny.cv.net.POSTED!not-for-mail From: "John W. Kennedy" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.pl1,comp.lang.ada Subject: Re: status of PL/I as a viable language References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sun, 23 Feb 2003 02:28:27 GMT NNTP-Posting-Host: 67.82.223.172 X-Trace: news4.srv.hcvlny.cv.net 1045967307 67.82.223.172 (Sat, 22 Feb 2003 21:28:27 EST) NNTP-Posting-Date: Sat, 22 Feb 2003 21:28:27 EST Organization: Optimum Online Xref: archiver1.google.com comp.lang.pl1:4431 comp.lang.ada:34453 Date: 2003-02-23T02:28:27+00:00 List-Id: James J. Weinkam wrote: > John W. Kennedy wrote: >> And I once tested a Julian-date converter (the _real_ Julian date -- >> serially numbered days from January 1, 4713 BC) to exhaustion, so it >> was perfect, too. > Did you test it to exhaustion if the forward as well as the backward > direction? :) Yup. The original algorithms as I received them had used floating point, with unstated assumptions about precision and rounding, so I adjusted them to do all calculations with positive integers, so that I could be sure that, no matter what language or system I ported to in the future, it would work. Having made so fundamental a change, I wanted to be sure that I got it right. Doing the two-way test over the entire range was just an overnight on a 4.77MHz 8088. -- John W. Kennedy "The poor have sometimes objected to being governed badly; the rich have always objected to being governed at all." -- G. K. Chesterton, "The Man Who Was Thursday"