Searched refs:exp_x (Results 1 - 4 of 4) sorted by relevance
/fuchsia/zircon/third_party/ulib/musl/third_party/complex/ |
H A D | __cexp.c | 41 double exp_x; local 47 * exp_x to MAX_EXP so that the result can be multiplied by 50 exp_x = exp(x - kln2); 51 GET_HIGH_WORD(hx, exp_x); 53 SET_HIGH_WORD(exp_x, (hx & 0xfffff) | ((0x3ff + 1023) << 20)); 54 return exp_x; 67 double x, y, exp_x, scale1, scale2; local 72 exp_x = __frexp_exp(x, &ex_expt); 84 return CMPLX(cos(y) * exp_x * scale1 * scale2, sin(y) * exp_x * scale [all...] |
H A D | __cexpf.c | 40 float exp_x; local 43 exp_x = expf(x - kln2); 44 GET_FLOAT_WORD(hx, exp_x); 46 SET_FLOAT_WORD(exp_x, (hx & 0x7fffff) | ((0x7f + 127) << 23)); 47 return exp_x; 51 float x, y, exp_x, scale1, scale2; local 56 exp_x = __frexp_expf(x, &ex_expt); 64 return CMPLXF(cosf(y) * exp_x * scale1 * scale2, sinf(y) * exp_x * scale1 * scale2);
|
H A D | cexp.c | 34 double x, y, exp_x; local 78 exp_x = exp(x); 79 return CMPLX(exp_x * cos(y), exp_x * sin(y));
|
H A D | cexpf.c | 34 float x, y, exp_x; local 78 exp_x = expf(x); 79 return CMPLXF(exp_x * cosf(y), exp_x * sinf(y));
|
Completed in 27 milliseconds