delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/15/01:51:26

Message-ID: <3BF1FDC4.93E42C1B@earthlink.net>
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Organization: Nocturnal Aviation
X-Mailer: Mozilla 4.77 [en] (Win95; U)
X-Accept-Language: en,de-CH,fr,ru,zh-CN,ja
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DBL_EPSILON
References: <imk6vtk0jre49lhjone32d9ekiqg9i3a97 AT 4ax DOT com>
Lines: 14
Date: Thu, 15 Nov 2001 06:43:08 GMT
NNTP-Posting-Host: 165.247.27.9
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread2.prod.itd.earthlink.net 1005806588 165.247.27.9 (Wed, 14 Nov 2001 22:43:08 PST)
NNTP-Posting-Date: Wed, 14 Nov 2001 22:43:08 PST
X-Received-Date: Wed, 14 Nov 2001 22:38:50 PST (newsmaster1.prod.itd.earthlink.net)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"J.W. Dare" wrote:
> 
> Can someone tell me the value of DBL_EPSILON defined in float.h.

You can:

#include <float.h>
#include <stdio.h>

int main(void)
{
   printf("DBL_EPSILON is %.*g\n", DBL_DIG, DBL_EPSILON);
   return 0;
}

- Raw text -


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