This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/2516] typo in README.libm


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]