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,8e0fcf9e7d370ccc X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Fixed-point question Date: 1995/04/07 Message-ID: #1/1 X-Deja-AN: 100070425 references: <3li7ec$k37@butch.lmsc.lockheed.com> <3m43ot$grt@butch.lmsc.lockheed.com> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1995-04-07T00:00:00+00:00 List-Id: Ken Garlington asks: " type D is delta 0.1 range ... This generates a set of model numbers M. In this particular user's mind, however, he is thinking in terms of the set S = { ... 2.0, 2.1, 2.2 ... } (is there a name in Ada for this set?)." No, there is no name for this set as the declaration stands. However, if the user is thinking in terms of this set, then the following declaration should be added (Ada 83 or Ada 95) for D'Small use 0.1; then there *is* a name for that set, its called the set of model numbers and things will work exactly as expected. If your compiler rejects this declaration, it is being naughty and you should complain to the vendor, there is no god excuse for not supporting decimal small values.