Article View: comp.arch
Article #12093Re: IEEE arithmetic (Goldberg paper)
From: peter da silva
Date: Fri, 14 Jun 1991 17:24
Date: Fri, 14 Jun 1991 17:24
12 lines
1000 bytes
1000 bytes
In article <GLEW.91Jun9110817@pdx007.intel.com>, glew@pdx007.intel.com (Andy Glew) writes: > In this programming model expressions like 0.0 * b arise frequently. > And it sure would be nice if they could be optimized away. Couldn't you do something like: #define foo(...,x,...) ...((x)?((x) * b):(0.0))... This should give the compiler a clue, no? -- Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180; Sugar Land, TX 77487-5012; `-_-' "Have you hugged your wolf, today?"
Technical Details
Message-ID:
<DB-BIPG@xds13.ferranti.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!ficc!peterReferences:
<9106052113.AA14439@ucbvax.Berkeley.EDU> <3652@charon.cwi.nl> <GLEW.91Jun9110817@pdx007.intel.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.arch Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ficc.ferranti.com (peter da silva) Subject: Re: IEEE arithmetic (Goldberg paper) Message-ID: <DB-BIPG@xds13.ferranti.com> Organization: Ferranti International Controls Corporation References: <9106052113.AA14439@ucbvax.Berkeley.EDU> <3652@charon.cwi.nl> <GLEW.91Jun9110817@pdx007.intel.com> Date: Fri, 14 Jun 91 17:24:56 GMT