🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #764

Re: float precision

#764
From: grzegorz
Date: Thu, 13 Apr 2000 00:00
22 lines
1494 bytes
dataman@cyberdude.com wrote:
> 
> I am really confused about float precision ..officially it's 3.4 *
> (10**-38) to 3.4 * (10**+38)
> But, that does not help me much even it confuse me more ....
> 
> Here is my problem:
> 
> I need to define a world of 10 000 000 units .  I need to use float for
> that . I think to use only the positive part (but will depend from the
> answer of my question).
> What precision (after the dot ) can i expect  ?

around seven digits , 23 bits + sign.

grzegorz
> 
> Thanks ......
> 
> --
> The Aero Section : http://fly.to/TheAeroSection/
> The Aero Section is a large military aircraft photo gallery.
Technical Details
Message-ID: <38F5DD58.61922FA3@jps.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38F5D7E6.153591F2@cyberdude.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,fcf1bc31a1ccc99f
X-Google-Attributes: gid109fba,public
X-Google-Thread: fdcad,fcf1bc31a1ccc99f
X-Google-Attributes: gidfdcad,public
X-Google-Thread: 114592,fcf1bc31a1ccc99f
X-Google-Attributes: gid114592,public
From: grzegorz <grzegorz@jps.net>
Subject: Re: float precision
Date: 2000/04/13
Message-ID: <38F5DD58.61922FA3@jps.net>
X-Deja-AN: 610687663
Content-Transfer-Encoding: 7bit
References: <38F5D7E6.153591F2@cyberdude.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@onemain.com
X-Trace: nntp3.onemain.com 955637236 216.119.47.124 (Thu, 13 Apr 2000 10:47:16 EDT)
MIME-Version: 1.0
NNTP-Posting-Date: Thu, 13 Apr 2000 10:47:16 EDT
Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++,fr.comp.lang.c++