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!i13g2000yqd.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: understanding floating point types Date: Sun, 22 Aug 2010 23:29:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: <216148a0-992d-4b24-8823-644765a3df09@i13g2000yqd.googlegroups.com> References: <74406fc1-f64b-4a3e-9dd6-301f1ed467ab@w30g2000yqw.googlegroups.com> <7b0ca24f-4a5e-43a9-9f71-e4adffb98694@q1g2000yqg.googlegroups.com> <37d8fbc1-fdaf-4ca9-9393-6163f2e3fa2e@s9g2000yqd.googlegroups.com> <2d2a622b-6c4a-45b7-9e3c-a565d5dbc9e3@p3g2000yqp.googlegroups.com> <7mcl3j29wtw1.xle9n3lvga8c.dlg@40tude.net> NNTP-Posting-Host: 130.240.232.147 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1282544994 22278 127.0.0.1 (23 Aug 2010 06:29:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 23 Aug 2010 06:29:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i13g2000yqd.googlegroups.com; posting-host=130.240.232.147; 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:13647 Date: 2010-08-22T23:29:54-07:00 List-Id: On Aug 22, 9:34=A0pm, "Dmitry A. Kazakov" wrote: > The machine number precision must be equal or greater than the model one. > Thanks for the explanation. If a model number is a number which can be accurately representable by a computer, then I don't understand the term machine number. On my computer I can have Long_Long_Float (18 digits). In this case is the model number precision not equal to the machine number precision? Do you mean that machine number precision is set say to the precision of Long_Long_Float (18 digits)? This would make sense since any other float calculation (with fewer precision digits) would have a model number precision less than the machine number precision (Long_Long_Float---18 digits). YC