comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Krischik" <Martin.Krischik@T-Online.de>
Subject: Re: precision
Date: Sun, 23 Feb 2003 13:50:07 +0100
Date: 2003-02-23T13:50:07+01:00	[thread overview]
Message-ID: <pan.2003.02.23.12.50.05.854178@T-Online.de> (raw)
In-Reply-To: d40d7104.0302200050.27313c45@posting.google.com

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




  reply	other threads:[~2003-02-23 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20  8:50 precision prashna
2003-02-23 12:50 ` Martin Krischik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-20  9:35 precision Grein, Christoph
2003-02-20 10:27 ` precision Peter Hermann
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox