delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/23/17:15:14

From: hughett AT chaplin DOT med DOT upenn DOT edu (Paul Hughett)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Longer number than float
Date: 23 Dec 1998 22:10:43 GMT
Organization: University of Pennsylvania
Lines: 11
Message-ID: <75rpp3$bc5$1@netnews.upenn.edu>
References: <914444712 DOT 515573 AT newsch DOT es DOT co DOT nz>
NNTP-Posting-Host: chaplin.med.upenn.edu
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Oliver Batchelor (batchg AT ihug DOT co DOT nz) wrote:
: Is there a variable that has more digits than a float ??

: i have been using long   except thats not very accurate  ..

On most architectures, type double has more significant digits than
does float (usually 15 vs 6 or so).  If you are not already
familiar with the difference between integer and floating-point
types, now would be a good time to learn it.

Paul Hughett

- Raw text -


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