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: 103376,57d25404e12d2837 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-03 05:35:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3C5D2D77.288208B0@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How to catch NaNs with gnat3.14p References: <5ee5b646.0202011222.e4cd3cf@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 03 Feb 2002 13:27:41 GMT NNTP-Posting-Host: 63.178.185.146 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1012742861 63.178.185.146 (Sun, 03 Feb 2002 05:27:41 PST) NNTP-Posting-Date: Sun, 03 Feb 2002 05:27:41 PST X-Received-Date: Sun, 03 Feb 2002 05:27:40 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:19555 Date: 2002-02-03T13:27:41+00:00 List-Id: Robert Dewar wrote: > > Remember that float and long_float are > unconstrained types in Ada 95. When I fully realized a few years ago that the predefined Float type, unlike Integer, is an unconstrained type, it did make me wonder by what rationale Float'Last has a value, since 'Last "denotes the upper bound of the range of S" [3.5 (13)]. Of course in practical implementations Float would have an upper bound, but the notion of an unconstrained type having an upper bound seems awkward. Marc A. Criley Consultant Quadrus Corporation www.quadruscorp.com