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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,369f8d7191bede27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-24 08:46:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Martin Krischik" Newsgroups: comp.lang.ada Subject: Re: precision Date: Sun, 23 Feb 2003 13:50:07 +0100 Organization: never organized Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 X-Trace: news.t-online.com 1046105125 00 13477 YEQkEPBbTeYNVQ 030224 16:45:25 X-Complaints-To: abuse@t-online.com X-Sender: 05341395658-0001@t-dialin.net User-Agent: Pan/0.13.0 (The whole remains beautiful) Xref: archiver1.google.com comp.lang.ada:34519 Date: 2003-02-23T13:50:07+01:00 List-Id: On Thu, 20 Feb 2003 00:50:24 +0000, prashna wrote: > What is precision of float means? > My understanding is that if precision is 6 digits then 1.0 and > 1.0000001 are same!!! Please let me know whether my understanding is > right.If not then what it means? My understanding that you get a minimum of 6 digits. The compiler might (have to) give you more. I it like a range 0 .. 100. Since there are no half bits the compilter need at least 7 Bits to fullfill your request and 7 bits goes up to 127. With Regards Martin -- Martin Krischik mailto://Martin@krischik.com http://www.ada.krischik.com