Lines Matching refs:ln2

928  *              acosh(x) := log(x)+ln2, if x is large; else
939 ln2 = 6.93147180559945286227e-01; /* 0x3FE62E42, 0xFEFA39EF */
950 return log(x) + ln2; /* acosh(huge)=log(2x) */
1063 * := sign(x)*(log(x)+ln2)) for large |x|, else
1070 ln2 = 6.93147180559945286227e-01, /* 0x3FE62E42, 0xFEFA39EF */
1082 w = log(fabs(x)) + ln2;
1386 * Reduce x to an r so that |r| <= 0.5*ln2 ~ 0.34658.
1389 * x = k*ln2 + r, |r| <= 0.5*ln2.
1489 if (hx > 0x3FD62E42) { /* if |x| > 0.5 ln2 */
1490 if (hx < 0x3FF0A2B2) { /* and |x| < 1.5 ln2 */
1613 * 3. Finally, log(x) = k*ln2 + log(1+f).
1615 * Here ln2 is split into two floating point number:
1749 * 3. Finally, log1p(x) = k*ln2 + log1p(f).
1751 * Here ln2 is split into two floating point number:
1913 * 3. Finally, log(x) = k*ln2 + log(1+f).
1915 * Here ln2 is split into two floating point number:
1966 * log2(x) = (f - 0.5*f*f + k_log1p(f)) / ln2 + k
2024 * harder than adding +-ln2 or +-log10_2.
2122 * x = k*ln2 + r, |r| <= 0.5*ln2 ~ 0.34658
2181 * (i) if x < -56*ln2, return -1.0, (raise inexact if x!=inf)
2236 if (hx >= 0x4043687A) { /* if |x|>=56*ln2 */
2248 if (xsb != 0) { /* x < -56*ln2, return -1.0 with inexact */
2255 if (hx > 0x3FD62E42) { /* if |x| > 0.5 ln2 */
2256 if (hx < 0x3FF0A2B2) { /* and |x| < 1.5 ln2 */
2532 * 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
2536 * ln2/2 <= x <= 22 : cosh(x) := -------------------
2661 cp = 9.61796693925975554329e-01, // 0x3FEEC709, 0xDC3A03FD =2/(3ln2)
2664 ivln2 = 1.44269504088896338700e+00, // 0x3FF71547, 0x652B82FE =1/ln2
2666 1.44269502162933349609e+00, // 0x3FF71547, 0x60000000 =24b 1/ln2
2668 1.92596299112661746887e-08; // 0x3E54AE0B, 0xF85DDF44 =1/ln2 tail