Home
last modified time | relevance | path

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

/third_party/musl/src/complex/
D__cexpf.c41 float exp_x; in __frexp_expf() local
44 exp_x = expf(x - kln2); in __frexp_expf()
45 GET_FLOAT_WORD(hx, exp_x); in __frexp_expf()
47 SET_FLOAT_WORD(exp_x, (hx & 0x7fffff) | ((0x7f + 127) << 23)); in __frexp_expf()
48 return exp_x; in __frexp_expf()
53 float x, y, exp_x, scale1, scale2; in __ldexp_cexpf() local
58 exp_x = __frexp_expf(x, &ex_expt); in __ldexp_cexpf()
66 return CMPLXF(cosf(y) * exp_x * scale1 * scale2, in __ldexp_cexpf()
67 sinf(y) * exp_x * scale1 * scale2); in __ldexp_cexpf()
D__cexp.c42 double exp_x; in __frexp_exp() local
51 exp_x = exp(x - kln2); in __frexp_exp()
52 GET_HIGH_WORD(hx, exp_x); in __frexp_exp()
54 SET_HIGH_WORD(exp_x, (hx & 0xfffff) | ((0x3ff + 1023) << 20)); in __frexp_exp()
55 return exp_x; in __frexp_exp()
69 double x, y, exp_x, scale1, scale2; in __ldexp_cexp() local
74 exp_x = __frexp_exp(x, &ex_expt); in __ldexp_cexp()
86 return CMPLX(cos(y) * exp_x * scale1 * scale2, sin(y) * exp_x * scale1 * scale2); in __ldexp_cexp()
Dcexpf.c36 float x, y, exp_x; in cexpf() local
80 exp_x = expf(x); in cexpf()
81 return CMPLXF(exp_x * cosf(y), exp_x * sinf(y)); in cexpf()
Dcexp.c36 double x, y, exp_x; in cexp() local
80 exp_x = exp(x); in cexp()
81 return CMPLX(exp_x * cos(y), exp_x * sin(y)); in cexp()
/third_party/FreeBSD/lib/msun/ld128/
Dk_expl.h301 long double c, exp_x, hi, lo, s; in __ldexp_cexpl() local
309 exp_x = (lo + hi) * 0x1p16382L; in __ldexp_cexpl()
319 return (CMPLXL(c * exp_x * scale1 * scale2, in __ldexp_cexpl()
320 s * exp_x * scale1 * scale2)); in __ldexp_cexpl()