Here's a challenge for floating point lovers.

Dik T. Winter dik at cwi.nl
Sun Jan 27 00:29:17 AEST 1991


In article <101 at tdatirv.UUCP> sarima at tdatirv.UUCP (Stanley Friesen) writes:
 > In article <14964 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
 > >Oops, I missed that; thanks for the correction.  FLT_RADIX then is okay
 > >for use in #if expressions, but the other <float.h> macros aren't, not
 > >even FLT_ROUNDS.
 > 
 > #define FLT_ROUNDS (__flt_rounds)
 > So, there exists an ANSI compliant C compiler that in fact
 > makes use of this permission for a non-constant float expression.

And right they are because it can change at runtime.
--
dik t. winter, cwi, amsterdam, nederland
dik at cwi.nl



More information about the Comp.lang.c mailing list