[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] IEEE doubles/ANSI C questions

From: Brian Gough
Subject: Re: [Help-gsl] IEEE doubles/ANSI C questions
Date: Thu, 4 Nov 2004 17:58:27 +0000

Michael Mair writes:
 > Umh, the C standard just demands
 >   DBL_EPSILON <= 1e-9
 >   DBL_MAX >= 1e37
 >   DBL_MIN >= 1e-37
 > which is why I asked for a "better" rationale than hoping that
 > double equals IEEE double; or is it demanded that __STDC_IEC_559__
 > (means: conforming with IEC559/IEEE754) is defined?

It's true that C doesn't specify IEEE754.  However, assuming IEEE754
is used for double then the size is known.

In contrast, the extended format in IEEE754 doesn't give a specific
size at all, so then nothing is known.

Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]