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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,548c38bb2d3e1bb6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!j8g2000yqd.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: understanding floating point types Date: Sun, 22 Aug 2010 11:49:07 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <74406fc1-f64b-4a3e-9dd6-301f1ed467ab@w30g2000yqw.googlegroups.com> <7b0ca24f-4a5e-43a9-9f71-e4adffb98694@q1g2000yqg.googlegroups.com> NNTP-Posting-Host: 193.11.22.91 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1282502947 15958 127.0.0.1 (22 Aug 2010 18:49:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 22 Aug 2010 18:49:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j8g2000yqd.googlegroups.com; posting-host=193.11.22.91; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13622 Date: 2010-08-22T11:49:07-07:00 List-Id: On Aug 22, 7:22=A0pm, Yannick Duch=EAne (Hibou57) wrote: > Le Sun, 22 Aug 2010 15:57:42 +0200, Dmitry A. Kazakov =A0 > a =E9crit:>> Thanks. The Float'Machine_Mantis= sa remains constant in your examples > >> with 1 and 2 precision digits. Is the Float'Machine_Mantissa a > >> predefined value that is constant for any precision digit requested? > > > No, it is the is best fitting machine number available (compiler's =A0 > > choice): > > Yes, because it would be too much expensive to create a custom float =A0 > representation to save a few bits. It would even requires to redefine all= =A0 > operations (a kind of FPU emulation, like the one Pascal did for old =A0 > i386/i486). Yes. Thanks for this information. YC