Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bu.edu!purdue!haven!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: <14993@smoke.brl.mil> Date: 27 Jan 91 00:29:25 GMT References: <14964@smoke.brl.mil> <101@tdatirv.UUCP> <2855@charon.cwi.nl> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 10 In article <2855@charon.cwi.nl> dik@cwi.nl (Dik T. Winter) writes: >In article <101@tdatirv.UUCP> sarima@tdatirv.UUCP (Stanley Friesen) writes: > > #define FLT_ROUNDS (__flt_rounds) >And right they are because it can change at runtime. However, the C standard does not contemplate rounding mode changing during execution of a strictly conforming program. That stuff is an IEEE floating-point extension that need not be supported by a conforming implementation. (I'm trying to resist my usual slam at IEEE floating point.)