I have an Newton-Raphson Square Root Algorithm I am using which computes the single-precision square root of an input value. However using a testbench I input I found that certain input values don't converge to an answer which is closest to the actual square root. When I say actual square root, I mean the result you would get with more precision than 32-bit IEEE-754. As a result, I was wondering what is considered the correct value to be obtained when performing the square root in IEEE-754. Some people on this forum have told me that the closest value is not necessarily the most correct, that is why I am asking.
When computing the square root of the single precision IEEE-754 32-bit value 0x3f7fffff, what is considered the correct result and why?
Furthermore, what is considered the correct result when compute the square root of 0x7F7FFFFF?