Home
last modified time | relevance | path

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

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_csinhf.c60 return (CMPLXF(sinhf(x), y)); in csinhf()
62 return (CMPLXF(sinhf(x) * cosf(y), coshf(x) * sinf(y))); in csinhf()
68 return (CMPLXF(copysignf(h, x) * cosf(y), h * sinf(y))); in csinhf()
71 z = __ldexp_cexpf(CMPLXF(fabsf(x), y), -1); in csinhf()
72 return (CMPLXF(crealf(z) * copysignf(1, x), cimagf(z))); in csinhf()
76 return (CMPLXF(h * cosf(y), h * h * sinf(y))); in csinhf()
81 return (CMPLXF(x, y - y)); in csinhf()
84 return (CMPLXF(x + x, y)); in csinhf()
87 return (CMPLXF(y - y, y - y)); in csinhf()
91 return (CMPLXF(x, y - y)); in csinhf()
[all …]
Ds_ccoshf.c60 return (CMPLXF(coshf(x), x * y)); in ccoshf()
62 return (CMPLXF(coshf(x) * cosf(y), sinhf(x) * sinf(y))); in ccoshf()
68 return (CMPLXF(h * cosf(y), copysignf(h, x) * sinf(y))); in ccoshf()
71 z = __ldexp_cexpf(CMPLXF(fabsf(x), y), -1); in ccoshf()
72 return (CMPLXF(crealf(z), cimagf(z) * copysignf(1, x))); in ccoshf()
76 return (CMPLXF(h * h * cosf(y), h * sinf(y))); in ccoshf()
81 return (CMPLXF(y - y, x * copysignf(0, y))); in ccoshf()
84 return (CMPLXF(x * x, copysignf(0, x) * y)); in ccoshf()
87 return (CMPLXF(y - y, x * (y - y))); in ccoshf()
91 return (CMPLXF(INFINITY, x * (y - y))); in ccoshf()
[all …]
Dcatrigf.c161 return (CMPLXF(x, y + y)); in casinhf()
163 return (CMPLXF(y, x + x)); in casinhf()
165 return (CMPLXF(x + x, y)); in casinhf()
166 return (CMPLXF(nan_mix(x, y), nan_mix(x, y))); in casinhf()
174 return (CMPLXF(copysignf(crealf(w), x), in casinhf()
191 return (CMPLXF(copysignf(rx, x), copysignf(ry, y))); in casinhf()
197 float complex w = casinhf(CMPLXF(cimagf(z), crealf(z))); in casinf()
199 return (CMPLXF(cimagf(w), crealf(w))); in casinf()
219 return (CMPLXF(y + y, -INFINITY)); in cacosf()
221 return (CMPLXF(x + x, -y)); in cacosf()
[all …]
Ds_csqrtf.c48 return (CMPLXF(0, b)); in csqrtf()
50 return (CMPLXF(INFINITY, b)); in csqrtf()
53 return (CMPLXF(a + 0.0L + t, a + 0.0L + t)); /* NaN + NaN i */ in csqrtf()
63 return (CMPLXF(fabsf(b - b), copysignf(a, b))); in csqrtf()
65 return (CMPLXF(a, copysignf(b - b, b))); in csqrtf()
69 return (CMPLXF(b + 0.0L + t, b + 0.0L + t)); /* NaN + NaN i */ in csqrtf()
79 return (CMPLXF(t, b / (2 * t))); in csqrtf()
82 return (CMPLXF(fabsf(b) / (2 * t), copysignf(t, b))); in csqrtf()
Ds_clogf.c72 return (CMPLXF(logf(hypotf(x, y)), v)); in clogf()
77 return (CMPLXF((ay / 2) * ay, v)); in clogf()
78 return (CMPLXF(log1pf(ay * ay) / 2, v)); in clogf()
83 return (CMPLXF(logf(ax), v)); in clogf()
87 return (CMPLXF(logf(hypotf(x * 0x1p-126F, y * 0x1p-126F)) + in clogf()
90 return (CMPLXF(logf(hypotf(x, y)), v)); in clogf()
94 return (CMPLXF(logf(hypotf(x * 0x1p127F, y * 0x1p127F)) + in clogf()
99 return (CMPLXF(logf(hypotf(x, y)), v)); in clogf()
141 return (CMPLXF(logf(ay2l + ax2l + sl + sh) / 2, v)); in clogf()
150 return (CMPLXF(log1pf(ay2l + t + sh) / 2, v)); in clogf()
Ds_ctanhf.c56 return (CMPLXF(nan_mix(x, y), in ctanhf()
59 return (CMPLXF(x, in ctanhf()
64 return (CMPLXF(y - y, y - y)); in ctanhf()
68 return (CMPLXF(copysignf(1, x), in ctanhf()
77 return (CMPLXF((beta * rho * s) / denom, t / denom)); in ctanhf()
84 z = ctanhf(CMPLXF(cimagf(z), crealf(z))); in ctanf()
85 return (CMPLXF(cimagf(z), crealf(z))); in ctanf()
Ds_cexpf.c55 return (CMPLXF(expf(x), y)); in cexpf()
59 return (CMPLXF(cosf(y), sinf(y))); in cexpf()
64 return (CMPLXF(y - y, y - y)); in cexpf()
67 return (CMPLXF(0.0, 0.0)); in cexpf()
70 return (CMPLXF(x, y - y)); in cexpf()
89 return (CMPLXF(exp_x * cosf(y), exp_x * sinf(y))); in cexpf()
Ds_cpowf.c63 return (CMPLXF(0.0f, 0.0f)); in cpowf()
72 w = CMPLXF(r * cosf (theta), r * sinf (theta)); in cpowf()
Ds_conjf.c39 return (CMPLXF(crealf(z), -cimagf(z))); in conjf()
Ds_cprojf.c44 return (CMPLXF(INFINITY, copysignf(0.0, cimagf(z)))); in cprojf()
Dk_expf.c87 return (CMPLXF(cosf(y) * exp_x * scale1 * scale2, in __ldexp_cexpf()
Dmath_private.h543 #ifndef CMPLXF
545 CMPLXF(float x, float y) in CMPLXF() function
/bionic/libc/include/
Dcomplex.h48 #define CMPLXF(x, y) ((float complex){ x, y }) macro