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,16dbd7ecc6a3d50c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Wed, 10 May 2006 15:51:54 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <8KadnYXCB-5FKMLZnZ2dneKdnZydnZ2d@megapath.net> Subject: Re: Ada decimal types Date: Wed, 10 May 2006 15:52:18 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-wQJIPdHe6FVgW/oeO/vtU3mAUfTiO5oXgMXBL4EHtBoKF0bogPTmseOgXJvMLe4HI/L0W4x/g9rUKz1!GO/+S4+W22s9qtMndhCyJQ+sX91/uR6c3I1bD165M4W5EQhgA/yzaOuZOuEae3JJdfX4XYTpSigO!G5N42ox0cUw/8w== X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:4185 Date: 2006-05-10T15:52:18-05:00 List-Id: "Simon Wright" wrote in message news:m264kecudx.fsf@grendel.local... ... > > Why is there not a difference? Won't the first actually use some negative > > power-of-2 as the delta? > > The LRM 3.5.10(2) is a good deal less than informative as to what this > _Small_ might be. But unless I have been totally wrong all this time > it specifies the value of the LSB of the type. The small is defined in 3.5.9(8): "The set of values of a fixed point type comprise the integral multiples of a value called the small of the type." For the purposes of the original question, note that this applies to *all* fixed point types. The only difference between ordinary and decimal fixed point types is how the default value is determined. If it is specified for an ordinary fixed point type, then that is the value used (of course). Randy.