delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/24/09:42:28

Date: Tue, 24 Dec 1996 09:23:02 -0500
Message-Id: <199612241423.JAA07853@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: shaman AT nlc DOT net DOT au
CC: djgpp AT delorie DOT com
In-reply-to: <32BFA374.7CEC@nlc.net.au> (message from Lord Shaman on Tue, 24
Dec 1996 20:33:41 +1100)
Subject: Re: DJGPP and advanced math

> Can the normal float can handle that kind of data if 1.0 represents
> one metre?  Can the double? Can the long double? Does it matter?
> (Note: One pixel at 1024x768 represents a 6000x6000 km area at that
> distance.)

The three floating point types in gcc have the following precision (bits):

type		size		mantissa

float		32		24
double		64		53
long double	80		63

- Raw text -


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