The rounding might be different, but it shouldn't be any more in error.Quote:> hi,
> i need to compute a/sqrt(x) in floating point arithmetic.
> if this is done using reciprocal square root, does it introduces
> errors .. if all operations are done with 'infinitely precise rounding'
> and same no of bits in fractional part?
> if yes .. how much precise Rsqrt(x) shud be to do this properly?
If you are that worried about error, maybe you shouldn't be using floating
that will be great ..Quote:> The rounding might be different, but it shouldn't be any more in error.
have to use erroneous fp ;..Quote:> If you are that worried about error, maybe you shouldn't be using floating point?
Does sqrt (in libm.a or libmfast.a) use the FPU coprocessor
square root instruction (see page B-53 in the MIPS R4000 User's Manual)
or does it compute it manually ?
I disassembled the executable of a simple program that computes the
square root of a number using sqrt() and found no trace of the
Whats up here ? Somehow I feel like I'm being cheated.
System is Indy R4400, IRIX 5.2. languaage is Ada.
Tom Haberlandt | Reality's a horde of mice nibbling away in the
"I don't speak for my employer." - Woof !
9. Sqrt pb