delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/09/17:01:59

From: NOSPAMsl AT psycode DOT com (Gili)
Newsgroups: comp.os.msdos.djgpp
Subject: Precision
Date: 9 Mar 1998 21:46:47 GMT
Organization: Generation.NET
Lines: 16
Message-ID: <bWLoegW7sFse-pn2-BbuKuH1iTqGP@portE29.Generation.NET>
Reply-To: NOSPAMsl AT psycode DOT com
NNTP-Posting-Host: portE29.Generation.NET
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

	According to my C++ book here, the ISO standard specificies that 
"<variable>.digits10" is suppose to return the number of precision 
digits of a variable type:

example:
"
  double i;
  precision=i.digits10;
"
  anyway, how would I know the precision of the variables I use in 
DJGPP? Thank you,

Gili

- Raw text -


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