[Bug manual/2516] typo in README.libm
jakub at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Sep 12 09:30:00 GMT 2006
------- Additional Comments From jakub at redhat dot com 2006-09-12 09:30 -------
Nope, your patch is wrong. x is the value we want to compute square root of
and it certainly doesn't need to be in the [1, 4) interval.
You either want to write:
* find an integer k such that 1 <= (y=x*2^(-2k)) < 4, then
* sqrt(x) = 2^k * sqrt(y)
or
* find an integer k such that 1 <= (y=x*2^(2k)) < 4, then
* sqrt(x) = 2^(-k) * sqrt(y)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2516
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list