Article View: comp.arch
Article #10530Re: Compilers, architecture, and efficiency
From: peter da silva
Date: Wed, 01 May 1991 15:14
Date: Wed, 01 May 1991 15:14
10 lines
840 bytes
840 bytes
If you want to specify a boolean operation on a float, do the following: f * 2.0 It's up to the compiler to determine if this multiplication by a constant two can be handled by incrementing the exponent or if you have to do a real floating multiply (say, for example, that it's m * e ^ 16). -- Peter da Silva. `-_-' peter@ferranti.com +1 713 274 5180. 'U` "Have you hugged your wolf today?"
Technical Details
Message-ID:
<WK=A6.G@xds13.ferranti.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!ficc!peterReferences:
<1991Apr28.154603.8003@rice.edu> <1991Apr29.155945.29907@rice.edu> <41279@genrad.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: comp.arch Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!ficc!peter From: peter@ficc.ferranti.com (peter da silva) Subject: Re: Compilers, architecture, and efficiency Message-ID: <WK=A6.G@xds13.ferranti.com> Organization: Ferranti International Controls Corporation References: <1991Apr28.154603.8003@rice.edu> <1991Apr29.155945.29907@rice.edu> <41279@genrad.UUCP> Date: Wed, 1 May 91 15:14:56 GMT