Here's a challenge for floating point lovers.
Christopher R Volpe
volpe at camelback.crd.ge.com
Thu Jan 24 12:56:45 AEST 1991
In article <14938 at smoke.brl.mil>, gwyn at smoke.brl.mil (Doug Gwyn) writes:
|>The
|>standard does NOT require that the values of the <float.h> macros be
|>CONSTANT expressions; in particular they may access external storage at
|>run time (contents of such a union, for example). Note also that this
|>means that FLT_RADIX and other <float.h> macros must not be used in #if
|>expressions in strictly conforming programs.
2.2.4.2.2:
Of the values in the <float.h> header, FLT_RADIX shall be a constant
expression suitable for use in #if preprocessing directives; all other
values need not be constant expressions.
==================
Chris Volpe
G.E. Corporate R&D
volpecr at crd.ge.com
More information about the Comp.lang.c
mailing list