Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!charon!dik From: dik@cwi.nl (Dik T. Winter) Newsgroups: comp.lang.c Subject: Re: Here's a challenge for floating point lovers. Message-ID: <2855@charon.cwi.nl> Date: 26 Jan 91 13:29:17 GMT References: <16035@crdgw1.crd.ge.com> <14964@smoke.brl.mil> <101@tdatirv.UUCP> Sender: news@cwi.nl Organization: CWI, Amsterdam Lines: 14 In article <101@tdatirv.UUCP> sarima@tdatirv.UUCP (Stanley Friesen) writes: > In article <14964@smoke.brl.mil> gwyn@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 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@cwi.nl