/titanic_44/usr/src/lib/libm/common/complex/ |
H A D | ctanhf.c | 46 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 D | csqrtf.c | 47 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 D | catanf.c | 53 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 D | ccoshf.c | 48 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 D | csinhf.c | 48 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 D | cexpf.c | 48 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 D | cpowf.c | 61 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 D | casinhf.c | 39 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 D | catanhf.c | 41 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 D | csinf.c | 41 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 D | ctanf.c | 41 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 D | cprojf.c | 45 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 D | conjf.c | 37 F_IM(z) = -F_IM(z); in conjf()
|
H A D | ccosf.c | 40 y = F_IM(z); in ccosf() 42 F_IM(z) = -x; in ccosf()
|
H A D | cacosf.c | 41 D_IM(dz) = (double) (F_IM(z)); in cacosf() 44 F_IM(ans) = (float) (D_IM(dans)); in cacosf()
|
H A D | cacoshf.c | 43 D_IM(dz) = (double) (F_IM(z)); in cacoshf() 46 F_IM(ans) = (float) (D_IM(dans)); in cacoshf()
|
H A D | casinf.c | 41 D_IM(dz) = (double) (F_IM(z)); in casinf() 44 F_IM(ans) = (float) (D_IM(dans)); in casinf()
|
H A D | clogf.c | 46 y = F_IM(z); in clogf() 53 F_IM(ans) = atan2f(y, x); in clogf()
|
H A D | complex_wrapper.h | 42 #define F_IM(x) __imag__ x macro 57 #define F_IM(__z) _X_IM(float, __z) macro
|
H A D | cimagf.c | 37 return (F_IM(z)); in cimagf()
|
H A D | cabsf.c | 37 return (hypotf(F_RE(z), F_IM(z))); in cabsf()
|
H A D | cargf.c | 37 return (atan2f(F_IM(z), F_RE(z))); in cargf()
|