delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/17:35:33

Message-ID: <331DEE7B.7D98@pobox.oleane.com>
Date: Wed, 05 Mar 1997 23:06:51 +0100
From: Francois Charton <deef AT pobox DOT oleane DOT com>
Organization: CCMSA
MIME-Version: 1.0
To: Sly <sly AT aussie DOT net>
CC: djgpp AT delorie DOT com
Subject: Re: Floating Point???
References: <4b5_9703051119 AT softtech DOT brisnet DOT org DOT au> <5fin95$f8 AT news DOT ox DOT ac DOT uk> <01bc292d$d7fed300$8a081ecb AT sly>

Sly wrote:
> 
> 
> floats are only precise up to about 6 digits or so.  doubles are precise up
> to .. err .. is it 10?
> 

floats have about 7 significant digits (23 bits in the mantissa, sign bit 
excluded)
doubles have about 16 significant digits (52 bits in the mantissa)

Francois

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019