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-Thread: 103376,9ce095aba33fe8d0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news.astraweb.com!router1.astraweb.com!207.217.77.102.MISMATCH!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Negative float problem References: <1130351574.313991.229420@g14g2000cwa.googlegroups.com> <10mspnley7gzu$.1swtj67sv0ldr$.dlg@40tude.net> <38tcpxwxfigo$.18ysjyp9ml92c$.dlg@40tude.net> <2ybc7t4au7g$.166dxwfrds1so$.dlg@40tude.net> <18nrnlg9zzl5a.k8rl3ajwauqi.dlg@40tude.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 03 Nov 2005 18:32:00 GMT NNTP-Posting-Host: 67.3.212.114 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1131042720 67.3.212.114 (Thu, 03 Nov 2005 10:32:00 PST) NNTP-Posting-Date: Thu, 03 Nov 2005 10:32:00 PST Xref: g2news1.google.com comp.lang.ada:6153 Date: 2005-11-03T18:32:00+00:00 List-Id: Jean-Pierre Rosen wrote: > type Biggest_Int is range System.Min_Int .. System.Max_Int; > > The range will vary with the implementation, but it will always be the > biggest integer type available on your system. Sure, I've done this on many occasions. It's fine if you want the largest range, without any specific values for a minimum range. I often use it to have a 'Image for universal integers. "digits System.Max_Digits" is good for the case of universal reals. On the other hand, from another thread, we have type A is delta B range -1.0 .. 1.0; and what "1.0 in A" is. -- Jeff Carter "Now go away or I shall taunt you a second time." Monty Python & the Holy Grail 07