Newsgroups: comp.arch Path: 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: 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 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?"