Searched refs:ln2 (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/libm/common/C/
H A Dexp2.c38 * = 2**anint(x)*exp((x-anint(x))*ln2)
56 #define ln2 C[3] macro
81 return (exp(ln2 * x));
87 return (scalbn(exp(ln2 * (x - (double)k)), k));
H A Dacosh.c39 * acosh(x) := log(x)+ln2, if x is large; else
55 ln2 = 6.93147180559945286227e-01; /* 3FE62E42, FEFA39EF */ variable
83 return (log(x) + ln2);
H A Dasinh.c40 * := sign(x)*(log(x)+ln2)) for large |x|, else
51 /* ln2 */ 6.93147180559945286227e-01, /* 3FE62E42, FEFA39EF */
55 #define ln2 xxx[1] macro
77 w = log(fabs(x)) + ln2;
H A Dcosh.c47 * lnovft <= x < INF : cosh(x) := scalbn(exp(x-1024*ln2),1023)
49 * Note: .3465 is a number near one half of ln2.
60 ln2 = 6.93147180559945286227e-01, variable
85 if (w >= ln2)
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dexp2l.c38 * = 2**anint(x)*exp((x-anint(x))*ln2)
49 ln2 = 6.931471805599453094172321214581765680755e-0001L, variable
71 return (expl(ln2 * x));
76 return (scalbnl(expl(ln2 * (x - t)), (int) t));
H A Dacoshl.c36 ln2 = 6.931471805599453094172321214581765680755e-0001L, variable
47 return (logl(x) + ln2);
H A Dasinhl.c35 ln2 = 6.931471805599453094172321214581765680755e-0001L, variable
59 return (copysignl(logl(w) + ln2, x));
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dacoshl.c36 ln2 = 6.931471805599453094172321214581765680755e-0001L, variable
47 return (logl(x) + ln2);
H A Dasinhl.c35 ln2 = 6.931471805599453094172321214581765680755e-0001L, variable
59 return (copysignl(logl(w) + ln2, x));
/illumos-gate/usr/src/lib/libm/common/R/
H A Dlogf.c46 * e*ln2 + l + p(r*(x'-y')) all evaluated in double precision.
108 #define ln2 C[0] macro
143 t = ln2 * (double)exp + TBL[i];
H A Dpowf.c41 ln2 = 6.93147180559945286227e-01, /* 0x3fe62e42, 0xfefa39ef */ variable
241 /* compute log(x)/ln2 */
273 dy = ln2 * (dz - d1_32 * (double)n);
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcacos.c203 ln2 = 6.93147180559945286227e-01, variable
325 D_IM(ans) = ln2 + log(x);
340 D_IM(ans) = ln2 + log(x);
355 D_IM(ans) = ln2 + log(y);
360 D_IM(ans) = ln2 + log(y) + half * log1p(t * t);
H A Dcasin.c204 ln2 = 6.93147180559945286227e-01, variable
297 D_IM(ans) = ln2 + log(x);
313 D_IM(ans) = ln2 + log(x);
327 D_IM(ans) = ln2 + log(y);
332 D_IM(ans) = ln2 + log(y) + half * log1p(t * t);
H A Dcasinl.c43 ln2 = 6.931471805599453094172321214581765680755e-0001L, variable
150 LD_IM(ans) = ln2 + logl(x);
167 LD_IM(ans) = ln2 + logl(x);
181 LD_IM(ans) = ln2 + logl(y);
186 LD_IM(ans) = ln2 + logl(y) + half * log1pl(t * t);
H A Dcacosl.c43 ln2 = 6.931471805599453094172321214581765680755e-0001L, variable
178 LD_IM(ans) = ln2 + logl(x);
205 LD_IM(ans) = ln2 + logl(fabsl(x));
221 LD_IM(ans) = ln2 + logl(y);
226 LD_IM(ans) = ln2 + logl(y) + half * log1pl(t * t);
H A Dcatan.c87 ln2 = 6.931471805599453094172321214581765680755e-0001, variable
219 D_IM(ans) = half * (ln2 - log(ax));
H A Dcatanl.c114 ln2 = 6.931471805599453094172321214581765680755e-0001L, variable
256 LD_IM(ans) = half * (ln2 - logl(ax));
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vexp.S45 * Let x = (k + j/256)ln2 + r
46 * then exp(x) = exp(ln2^(k+j/256)) * exp(r)
762 fmuld %f0,INVLN2_256,%f4 ! x/ (ln2/256) , creating k

Completed in 263 milliseconds