inverse square root

Started by
4 comments, last by Raghar 17 years, 5 months ago
i've read this ( http://www.math.purdue.edu/~clomont/Math/Papers/2003/InvSqrt.pdf ) article a few times now but a still confuses fuses me could someone please explain it to me?
Advertisement
What specific part are you struggling with?
"The true exponent e = E − 127 is odd, say e = 2d + 1, d an integer.
The bits representing the initial guess give the new exponent"

after that i seem to start getting confused with what hes doing.
Could you write down a representation of a floating point number in the registry? That article was somehow harder to read. He wrote it in scientifical style that gets in the way.

Try to do some example calculation, for example 1/sqrt(2) or 1/sqrt(4)
the main thing that confuses my is d the d variable what does it mean where does it come from?
a = 2*b + 1 guarantees the "a" would be odd. (b is an integer)

He just used a "d" instead of a "b".

This topic is closed to new replies.

Advertisement