Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!zephyr.ens.tek.com!tektronix!reed!intelhf!ichips!ichips!glew From: glew@pdx007.intel.com (Andy Glew) Newsgroups: comp.arch Subject: Re: IEEE floating point (Goldberg paper) Message-ID: Date: 31 May 91 18:58:05 GMT References: <9105310523.AA15861@ucbvax.Berkeley.EDU> Sender: news@ichips.intel.com (News Account) Organization: Intel Corp., Hillsboro, Oregon Lines: 22 In-Reply-To: jbs@WATSON.IBM.COM's message of 31 May 91 05:04:21 GMT James B. Shearer says: [to handle overflow problems]: > if(abs(x).le.1.0d18)then > y=x/(1+x*x) > else > y=1/x > endif >Compared to the author's solution, this has the following virtues > a) It is more portable. Minor point, but I have trouble imagining anything with a hard-wired constant in it to be portable. -- Andy Glew, glew@ichips.intel.com Intel Corp., M/S JF1-19, 5200 NE Elam Young Parkway, Hillsboro, Oregon 97124-6497 This is a private posting; it does not indicate opinions or positions of Intel Corp.