Home
last modified time | relevance | path

Searched refs:xn (Results 1 – 1 of 1) sorted by relevance

/bionic/libm/upstream-freebsd/lib/msun/src/
De_sqrtl.c82 long double lo, xn; in sqrtl() local
126 xn = sqrt(u.e); /* 53-bit estimate of sqrtl(x). */ in sqrtl()
128 xn = (xn + (u.e / xn)) * 0.5; /* 106-bit estimate. */ in sqrtl()
132 lo = (lo - u.e) / xn; /* Low bits divided by xn. */ in sqrtl()
133 xn = xn + (u.e / xn); /* High portion of estimate. */ in sqrtl()
134 u.e = xn + lo; /* Combine everything. */ in sqrtl()
140 xn = x / u.e; /* Chopped quotient (inexact?). */ in sqrtl()
143 if (xn == u.e) { in sqrtl()
148 xn = dec(xn); /* xn = xn - ulp. */ in sqrtl()
152 xn = inc(xn); /* xn = xn + ulp. */ in sqrtl()
[all …]