/titanic_44/usr/src/lib/libm/common/complex/ |
H A D | cacos.c | 226 y = D_IM(z); in cacos() 238 D_IM(ans) = -y; in cacos() 246 D_IM(ans) = -y; in cacos() 260 D_IM(ans) = -fabs(x); in cacos() 262 D_IM(ans) = y; in cacos() 273 D_IM(ans) = -x; in cacos() 308 D_IM(ans) = -y; in cacos() 310 D_IM(ans) = x; in cacos() 314 D_IM(ans) = -D_IM(ans); in cacos() 321 D_IM(ans) = zero; in cacos() [all …]
|
H A D | casin.c | 222 y = D_IM(z); in casin() 237 D_IM(ans) = x; in casin() 254 D_IM(ans) = y + y; in casin() 258 D_IM(ans) = D_RE(ans) = x + y; in casin() 264 D_IM(ans) = -D_IM(ans); in casin() 274 D_IM(ans) = y; in casin() 277 D_IM(ans) = x + y; in casin() 286 D_IM(ans) = -D_IM(ans); in casin() 293 D_IM(ans) = zero; in casin() 297 D_IM(ans) = ln2 + log(x); in casin() [all …]
|
H A D | catan.c | 99 y = D_IM(z); in catan() 113 D_IM(ans) = zero; in catan() 117 D_IM(ans) = zero; in catan() 119 D_IM(ans) = (fabs(y) - ay) / (fabs(y) - ay); in catan() 125 D_IM(ans) = zero; in catan() 128 D_IM(ans) = y; in catan() 146 D_IM(ans) = ay / ax; in catan() 149 D_IM(ans) = half * log1p(two / (-t)); in catan() 152 D_IM(ans) = half * log1p((ay + ay) / t); in catan() 178 D_IM(ans) = ay; in catan() [all …]
|
H A D | ctanh.c | 104 y = D_IM(z); in ctanh() 116 D_IM(ans) = zero; in ctanh() 119 D_RE(ans) = D_IM(ans) = y - y; in ctanh() 122 D_IM(ans) = zero; in ctanh() 125 D_IM(ans) = y - y; in ctanh() 142 D_RE(ans) = D_IM(ans) = x + y; in ctanh() 145 D_IM(ans) = zero * S; /* x is inf */ in ctanh() 147 D_IM(ans) = S * exp(-x); /* underflow */ in ctanh() 149 D_IM(ans) = (S + S) * exp(-(x + x)); in ctanh() 169 D_IM(ans) = (r * S) * v; in ctanh() [all …]
|
H A D | csinh.c | 88 y = D_IM(z); in csinh() 104 D_IM(ans) = y; in csinh() 107 D_IM(ans) = x - y; in csinh() 110 D_IM(ans) = S * x; in csinh() 116 D_IM(ans) = scalbn(S * t, n - 1); in csinh() 121 D_IM(ans) = S * t; in csinh() 126 D_IM(ans) = S; in csinh() 129 D_IM(ans) = S * cosh(x); in csinh() 135 D_IM(ans) = -D_IM(ans); in csinh()
|
H A D | ccosh.c | 88 y = D_IM(z); in ccosh() 104 D_IM(ans) = y; in ccosh() 107 D_IM(ans) = x - y; in ccosh() 110 D_IM(ans) = S * x; in ccosh() 116 D_IM(ans) = scalbn(S * t, n - 1); in ccosh() 121 D_IM(ans) = S * t; in ccosh() 126 D_IM(ans) = 0.0; in ccosh() 129 D_IM(ans) = S * sinh(x); in ccosh() 133 D_IM(ans) = -D_IM(ans); in ccosh()
|
H A D | csqrt.c | 126 y = D_IM(z); in csqrt() 138 D_IM(ans) = D_RE(ans) = ay; in csqrt() 142 D_IM(ans) = ay * zero; in csqrt() 145 D_IM(ans) = ax; in csqrt() 148 D_IM(ans) = D_RE(ans) = ax + ay; in csqrt() 152 D_IM(ans) = zero; in csqrt() 154 D_IM(ans) = sqrt(ax); in csqrt() 173 D_IM(ans) = ay / (t + t); in csqrt() 175 D_IM(ans) = t; in csqrt() 201 D_IM(ans) = ay / (t + t); in csqrt() [all …]
|
H A D | cexp.c | 73 y = D_IM(z); in cexp() 82 D_IM(ans) = y; in cexp() 87 D_IM(ans) = zero; in cexp() 91 D_IM(ans) = zero * s; in cexp() 96 D_IM(ans) = y - y; in cexp() 100 D_IM(ans) = x * s; in cexp() 108 D_IM(ans) = scalbn(t * s, n); in cexp() 112 D_IM(ans) = t * s; in cexp()
|
H A D | cacosh.c | 55 y = D_IM(z); in cacosh() 57 D_IM(ans) = y + y; in cacosh() 63 D_RE(ans) = -D_IM(w); in cacosh() 64 D_IM(ans) = D_RE(w); in cacosh() 66 D_RE(ans) = D_IM(w); in cacosh() 67 D_IM(ans) = -D_RE(w); in cacosh()
|
H A D | casinh.c | 46 D_RE(w) = -D_IM(z); in casinh() 47 D_IM(w) = D_RE(z); in casinh() 49 D_RE(ans) = D_IM(r); in casinh() 50 D_IM(ans) = -D_RE(r); in casinh()
|
H A D | catanh.c | 50 y = D_IM(z); in catanh() 52 D_IM(z) = x; in catanh() 54 D_RE(ans) = D_IM(ct); in catanh() 55 D_IM(ans) = -D_RE(ct); in catanh()
|
H A D | csin.c | 54 y = D_IM(z); in csin() 56 D_IM(z) = -x; in csin() 58 D_RE(ans) = -D_IM(ct); in csin() 59 D_IM(ans) = D_RE(ct); in csin()
|
H A D | ctan.c | 54 y = D_IM(z); in ctan() 56 D_IM(z) = -x; in ctan() 58 D_RE(ans) = -D_IM(ct); in ctan() 59 D_IM(ans) = D_RE(ct); in ctan()
|
H A D | carg.c | 43 iy = ((int *)&(D_IM(z)))[HIWORD]; in carg() 45 ((int *)&(D_IM(z)))[LOWORD]) == 0) { in carg() 48 return (D_IM(z)); in carg() 51 return (atan2(D_IM(z), D_RE(z))); in carg()
|
H A D | cpow.c | 160 y = D_IM(z); in cpow() 162 v = D_IM(w); in cpow() 180 D_IM(ans) = y; in cpow() 183 D_IM(ans) = zero; in cpow() 185 D_IM(ans) = zero; in cpow() 191 D_IM(ans) = (s == zero)? s: s * r; in cpow() 196 D_RE(ans) = D_IM(ans) = x + y + u; in cpow() 205 D_IM(ans) = (s == zero)? s: s * r; in cpow() 233 D_IM(ans) = (s == zero)? s: s * r; in cpow() 245 D_RE(ans) = D_IM(ans) = t - t; in cpow() [all …]
|
H A D | cproj.c | 54 y = D_IM(z); in cproj() 63 D_IM(z) = hy >= 0 ? zero : -zero; in cproj() 66 D_IM(z) = hy >= 0 ? zero : -zero; in cproj()
|
H A D | conj.c | 37 D_IM(z) = -D_IM(z); in conj()
|
H A D | ccos.c | 51 y = D_IM(z); in ccos() 53 D_IM(z) = -x; in ccos()
|
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 | complex_wrapper.h | 40 #define D_IM(x) __imag__ x macro 55 #define D_IM(__z) _X_IM(double, __z) macro
|
H A D | clog.c | 78 y = D_IM(z); in __clog() 87 D_IM(ans) = carg(z); in __clog()
|
H A D | cimag.c | 37 return (D_IM(z)); in cimag()
|
H A D | cabs.c | 58 y = D_IM(z); in cabs()
|