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,8c0fcfc0a87e61fc X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!a9g2000yqg.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: Re: simple question on long_float/short_float Date: Thu, 30 Sep 2010 01:46:56 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2b26f3c8-03cc-4245-8755-30768f7f9de9@a9g2000yqg.googlegroups.com> References: NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1285836416 13154 127.0.0.1 (30 Sep 2010 08:46:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 30 Sep 2010 08:46:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a9g2000yqg.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14328 Date: 2010-09-30T01:46:56-07:00 List-Id: > Thanks. Are you saying that in Ada I can't make double precision > variables and single precision variables? (as in Fortran?) Nonsense. Why don't you have a look in the RM, especially 3.5.7. There you can find the following definitions: {Float} In an implementation that supports floating point types with 6 or more digits of precision, the requested decimal precision for Float shall be at least 6. {Long_Float} If Long_Float is predefined for an implementation, then its requested decimal precision shall be at least 11. You can define your own float types with the precision you need.