delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/29/02:13:56

Message-Id: <200007290612.JAA10025@mailgw1.netvision.net.il>
Date: Sat, 29 Jul 2000 09:11:36 +0200
To: "Kenneth A. Strom" <therelic AT netzero DOT net>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
In-reply-to: <39824B5C.66098BCA@netzero.net> (therelic@netzero.net)
Subject: Re: Float Question
References: <39824B5C DOT 66098BCA AT netzero DOT net>
Reply-To: djgpp AT delorie 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

> From: "Kenneth A. Strom" <therelic AT netzero DOT net>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 29 Jul 2000 03:13:17 GMT
> 
> I know you can set integers in C to be compatible for different
> compilers by determining the range in the limits.h, but is there a way
> to do it with float and double?

Take a look at DBL_DIG, DBL_MAX_EXP, and other similar constants
defined in float.h.

> Also, is there any bigger integers that 4byte?

You can use "long long", which is 8-byte long.

- Raw text -


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