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,CP1252 X-Google-Thread: 103376,30e0ceaf4e6be70c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-11 16:32:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!rwcrnsc54.POSTED!not-for-mail Message-ID: <3F0F48EE.8090301@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Simple program to find average of 3 numbers References: <6ZMNa.109291$0B.2183354@wagner.videotron.net> <1ec946d1.0307090725.73f5f200@posting.google.com> <3F0C8B45.2080108@attbi.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 24.62.164.137 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc54 1057966356 24.62.164.137 (Fri, 11 Jul 2003 23:32:36 GMT) NNTP-Posting-Date: Fri, 11 Jul 2003 23:32:36 GMT Organization: Comcast Online Date: Fri, 11 Jul 2003 23:32:36 GMT Xref: archiver1.google.com comp.lang.ada:40216 Date: 2003-07-11T23:32:36+00:00 List-Id: Robert A Duff wrote: > The Size clause has no effect on the base range. From a language lawyer point of view, I guess that is true, just not all that helpful. In Ada 83 some compilers did allow a 'Size clause to influence representations. It was the easiest way to deal with the "junk" for Character'Size use 7; in (Ada 83) package Standard. And as long as you were dealing with that to pass the ACVC tests, might as well actually try to do something useful with it. Of course, on the compilers that cared, very few implemented all the possible integer base types. (Ada/SIL did support Integer_2 through Integer_16 plus (32-bit) Long_Integer as potential base types, but would choose Integer (16-bits) for all smaller types absent a size clause. -- Robert I. Eachus �In an ally, considerations of house, clan, planet, race are insignificant beside two prime questions, which are: 1. Can he shoot? 2. Will he aim at your enemy?� -- from the Laiden novels by Sharon Lee and Steve Miller.