delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/02/22/09:13:15

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 22 Feb 2008 09:12:29 -0500
Message-Id: <200802221412.m1MECTL8020113@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <ceb.2b34e67e.34effb7d@aol.com> (Sterten@aol.com)
Subject: Re: double
References: <ceb DOT 2b34e67e DOT 34effb7d AT aol DOT com>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

see <float.h>

> float x;

size = 32 bits
precision = about 6 digits
range = 1 x 10 ^ 37

> double x;

size = 64 bits
precision = about 15 digits
range = 1 x 10 ^ 307

> long double x;

size = 80 bits
precision = about 18 digits
range = 1 x 10 ^ 4931

- Raw text -


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