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,65b3f028266fd999 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Question about ordinary fixed point types. References: <4c685fac$0$2373$4d3efbfe@news.sover.net> Date: Mon, 16 Aug 2010 07:02:37 -0400 Message-ID: <82aaomvn02.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:dSNo5nT+KBDaNw36PmkOaM93J/4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 052264c691ac2e029e66125478 Xref: g2news1.google.com comp.lang.ada:13398 Date: 2010-08-16T07:02:37-04:00 List-Id: "Peter C. Chapin" writes: > I have a need to work with ordinary fixed point types. I've read the in > the reference manual about them (section 3.5.9, for example), and some > other things. I still have a few questions. I thought I'd start with one > here. > > Consider this example: > > > type Angle_Type is delta 0.0005 range -3.1416 .. 3.1416; > Angle : Angle_Type; Why do you not specify: for Angle_Type'small use 0.0005; ? Then machine numbers will be multiples of 0.0005. I've never used a fixed point type where I did not do this. -- -- Stephe