From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <36D09259.9D9C303C@frankfurt.netsurf.de> Date: Mon, 22 Feb 1999 00:10:17 +0100 From: Joachim Wesner Subject: Re: sqrt Robert Harley wrote: > > We have a problem with sqrt on Alpha Linux. > > > 3. The fast one by Wesner & Goto doesn't get the last bit correct. > > Ideally we should have one that's correct (well duh), fast, and gets > the last bit right (as required by the IEEE standard, so we can > replace the default one in libm). Then most people will be happy and > those who want to lose last bit accuracy in exchange for the extra bit > of speed can still do so. > Ehmmm, if last bit accuracy is your problem, the current libffm sqrt can be changed back to correctly round ! It's only few instructions I edited out from the Mosberger .S source just due to the reasons you give above (squuze out max. speed). Goto's improvement will still apply and you will get < 100 clocks !! Give me a day or so to change and test (just busy with something else) Joachim