Path: utzoo!attcan!uunet!lll-winken!sun-barr!cs.utexas.edu!samsung!think.com!paperboy!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Here's a challenge for floating point lovers. Message-ID: <14964@smoke.brl.mil> Date: 24 Jan 91 03:42:36 GMT References: <1991Jan22.180927.29232@zoo.toronto.edu> <14938@smoke.brl.mil> <16035@crdgw1.crd.ge.com> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 12 In article <16035@crdgw1.crd.ge.com> volpe@camelback.crd.ge.com (Christopher R Volpe) writes: -In article <14938@smoke.brl.mil>, gwyn@smoke.brl.mil (Doug Gwyn) writes: -|>standard does NOT require that the values of the macros be -|>CONSTANT expressions; ... -2.2.4.2.2: - Of the values in the header, FLT_RADIX shall be a constant -expression suitable for use in #if preprocessing directives; all other -values need not be constant expressions. Oops, I missed that; thanks for the correction. FLT_RADIX then is okay for use in #if expressions, but the other macros aren't, not even FLT_ROUNDS.