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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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 Path: g2news1.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: simple question on long_float/short_float Date: Thu, 30 Sep 2010 01:31:41 -0700 Organization: Aioe.org NNTP Server Message-ID: References: Reply-To: nma@12000.org NNTP-Posting-Host: tUYQ4Ty9mMw9Pdc8TJRFQA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.12) Gecko/20100914 Thunderbird/3.0.8 Xref: g2news1.google.com comp.lang.ada:14326 Date: 2010-09-30T01:31:41-07:00 List-Id: On 9/29/2010 11:58 PM, J-P. Rosen wrote: > Le 30/09/2010 08:17, Nasser M. Abbasi a �crit : >> Ada experts: >> >> Is Ada's long_float like Fortran double precision? and short_float is >> like Fortran single precision (just called real in Fortran)? > There is nothing in the standard that guarantees this. Float and > Long_Float are just floating point types, with greater accuracy for > Long_Float. > > On the other hand, package Interfaces.Fortran provides types Real and > Double_Precision, which are required to match the corresponding Fortran > types. > > Thanks. Are you saying that in Ada I can't make double precision variables and single precision variables? (as in Fortran?) Is this for real? :) So, what is Ada's Float? 32 bit or 64 bits? --Nasser