Home
last modified time | relevance | path

Searched refs:F_IM (Results 1 – 22 of 22) sorted by relevance

/titanic_44/usr/src/lib/libm/common/complex/
H A Dctanhf.c46 y = F_IM(z); in ctanhf()
56 F_IM(ans) = zero; in ctanhf()
59 F_RE(ans) = F_IM(ans) = y - y; in ctanhf()
62 F_IM(ans) = zero; in ctanhf()
65 F_IM(ans) = y - y; in ctanhf()
82 F_RE(ans) = F_IM(ans) = x + y; in ctanhf()
84 F_IM(ans) = zero * S; /* x is inf */ in ctanhf()
86 F_IM(ans) = S * expf(-x); /* underflow */ in ctanhf()
88 F_IM(ans) = (S + S) * expf(-(x + x)); in ctanhf()
108 F_IM(ans) = (r * S) * v; in ctanhf()
[all …]
H A Dcsqrtf.c47 y = F_IM(z); in csqrtf()
57 F_IM(ans) = F_RE(ans) = ay; in csqrtf()
61 F_IM(ans) = ay * zero; in csqrtf()
64 F_IM(ans) = ax; in csqrtf()
67 F_IM(ans) = F_RE(ans) = ax + ay; in csqrtf()
71 F_IM(ans) = zero; in csqrtf()
73 F_IM(ans) = sqrtf(ax); in csqrtf()
84 F_IM(ans) = w; in csqrtf()
86 F_IM(ans) = t; in csqrtf()
91 F_IM(ans) = -F_IM(ans); in csqrtf()
H A Dcatanf.c53 y = F_IM(z); in catanf()
64 F_IM(ans) = zero; in catanf()
68 F_IM(ans) = zero; in catanf()
70 F_IM(ans) = (fabsf(y) - ay) / (fabsf(y) - ay); in catanf()
75 F_IM(ans) = zero; in catanf()
78 F_IM(ans) = y * y; in catanf()
96 F_IM(ans) = ay / ax; in catanf()
99 F_IM(ans) = half * log1pf(two / (-t)); in catanf()
102 F_IM(ans) = half * log1pf((ay + ay) / t); in catanf()
126 F_IM(ans) = (float)(0.25 * log1p(4.0 * dy / in catanf()
[all …]
H A Dccoshf.c48 y = F_IM(z); in ccoshf()
62 F_IM(ans) = y; in ccoshf()
65 F_IM(ans) = x - y; in ccoshf()
68 F_IM(ans) = S * x; in ccoshf()
77 F_IM(ans) = (float)scalbn(S * w, n - 1); in ccoshf()
86 F_IM(ans) = S * t; in ccoshf()
91 F_IM(ans) = zero; in ccoshf()
94 F_IM(ans) = S * sinhf(x); in ccoshf()
98 F_IM(ans) = -F_IM(ans); in ccoshf()
H A Dcsinhf.c48 y = F_IM(z); in csinhf()
62 F_IM(ans) = y; in csinhf()
65 F_IM(ans) = x - y; in csinhf()
68 F_IM(ans) = S * x; in csinhf()
77 F_IM(ans) = (float)scalbn(S * t, n - 1); in csinhf()
86 F_IM(ans) = S * t; in csinhf()
91 F_IM(ans) = S; in csinhf()
94 F_IM(ans) = S * coshf(x); in csinhf()
100 F_IM(ans) = -F_IM(ans); in csinhf()
H A Dcexpf.c48 y = F_IM(z); in cexpf()
55 F_IM(ans) = y; in cexpf()
60 F_IM(ans) = zero; in cexpf()
64 F_IM(ans) = zero * s; in cexpf()
69 F_IM(ans) = y - y; in cexpf()
73 F_IM(ans) = x * s; in cexpf()
84 F_IM(ans) = (float)scalbn(t * (double)s, n); in cexpf()
92 F_IM(ans) = t * s; in cexpf()
H A Dcpowf.c61 y = F_IM(z); in cpowf()
63 v = F_IM(w); in cpowf()
77 F_IM(ans) = y; in cpowf()
80 F_IM(ans) = zero; in cpowf()
82 F_IM(ans) = zero; in cpowf()
88 F_IM(ans) = (s == zero)? s: s * t; in cpowf()
94 F_RE(ans) = F_IM(ans) = x + y + u; in cpowf()
102 F_IM(ans) = (s == zero)? s: s * v; in cpowf()
116 F_IM(ans) = (float)(dr * ds); in cpowf()
132 F_RE(ans) = F_IM(ans) = t - t; in cpowf()
[all …]
H A Dcasinhf.c39 F_RE(w) = -F_IM(z); in casinhf()
40 F_IM(w) = F_RE(z); in casinhf()
42 F_RE(ans) = F_IM(r); in casinhf()
43 F_IM(ans) = -F_RE(r); in casinhf()
H A Dcatanhf.c41 y = F_IM(z); in catanhf()
43 F_IM(z) = x; in catanhf()
45 F_RE(ans) = F_IM(ct); in catanhf()
46 F_IM(ans) = -F_RE(ct); in catanhf()
H A Dcsinf.c41 y = F_IM(z); in csinf()
43 F_IM(z) = -x; in csinf()
45 F_RE(ans) = -F_IM(ct); in csinf()
46 F_IM(ans) = F_RE(ct); in csinf()
H A Dctanf.c41 y = F_IM(z); in ctanf()
43 F_IM(z) = -x; in ctanf()
45 F_RE(ans) = -F_IM(ct); in ctanf()
46 F_IM(ans) = F_RE(ct); in ctanf()
H A Dcprojf.c45 y = F_IM(z); in cprojf()
52 F_IM(z) = hy >= 0 ? zero : -zero; in cprojf()
55 F_IM(z) = hy >= 0 ? zero : -zero; in cprojf()
H A Dconjf.c37 F_IM(z) = -F_IM(z); in conjf()
H A Dccosf.c40 y = F_IM(z); in ccosf()
42 F_IM(z) = -x; in ccosf()
H A Dcacosf.c41 D_IM(dz) = (double) (F_IM(z)); in cacosf()
44 F_IM(ans) = (float) (D_IM(dans)); in cacosf()
H A Dcacoshf.c43 D_IM(dz) = (double) (F_IM(z)); in cacoshf()
46 F_IM(ans) = (float) (D_IM(dans)); in cacoshf()
H A Dcasinf.c41 D_IM(dz) = (double) (F_IM(z)); in casinf()
44 F_IM(ans) = (float) (D_IM(dans)); in casinf()
H A Dclogf.c46 y = F_IM(z); in clogf()
53 F_IM(ans) = atan2f(y, x); in clogf()
H A Dcomplex_wrapper.h42 #define F_IM(x) __imag__ x macro
57 #define F_IM(__z) _X_IM(float, __z) macro
H A Dcimagf.c37 return (F_IM(z)); in cimagf()
H A Dcabsf.c37 return (hypotf(F_RE(z), F_IM(z))); in cabsf()
H A Dcargf.c37 return (atan2f(F_IM(z), F_RE(z))); in cargf()