Home
last modified time | relevance | path

Searched refs:ans (Results 1 – 25 of 107) sorted by relevance

12345

/titanic_44/usr/src/lib/libm/common/complex/
H A Dcacos.c223 dcomplex ans; in cacos() local
237 D_RE(ans) = pi_2; in cacos()
238 D_IM(ans) = -y; in cacos()
239 return (ans); in cacos()
246 D_IM(ans) = -y; in cacos()
248 D_RE(ans) = pi_2 + pi_2_l; in cacos()
251 D_RE(ans) = pi_4 + pi_4_l; in cacos()
253 D_RE(ans) = pi3_4 + pi3_4_l; in cacos()
255 D_RE(ans) = x; in cacos()
258 D_RE(ans) = y + x; in cacos()
[all …]
H A Dcasinl.c72 ldcomplex ans; in casinl() local
88 LD_IM(ans) = x; in casinl()
92 LD_RE(ans) = pi_4 + pi_4_l; in casinl()
94 LD_RE(ans) = y + y; in casinl()
96 LD_RE(ans) = pi_2 + pi_2_l; in casinl()
105 LD_IM(ans) = y + y; in casinl()
106 LD_RE(ans) = x + x; in casinl()
111 LD_IM(ans) = LD_RE(ans) = x + y; in casinl()
115 LD_RE(ans) = -LD_RE(ans); in casinl()
117 LD_IM(ans) = -LD_IM(ans); in casinl()
[all …]
H A Dcasin.c219 dcomplex ans; in casin() local
237 D_IM(ans) = x; in casin()
241 D_RE(ans) = pi_4; in casin()
243 D_RE(ans) = y + y; in casin()
245 D_RE(ans) = pi_2; in casin()
254 D_IM(ans) = y + y; in casin()
255 D_RE(ans) = x + x; in casin()
258 D_IM(ans) = D_RE(ans) = x + y; in casin()
262 D_RE(ans) = -D_RE(ans); in casin()
264 D_IM(ans) = -D_IM(ans); in casin()
[all …]
H A Dcacosl.c78 ldcomplex ans; in cacosl() local
90 LD_RE(ans) = pi_2 + pi_2_l; in cacosl()
91 LD_IM(ans) = -y; in cacosl()
92 return (ans); in cacosl()
99 LD_IM(ans) = -y; in cacosl()
101 LD_RE(ans) = pi_2 + pi_2_l; in cacosl()
104 LD_RE(ans) = pi_4 + pi_4_l; in cacosl()
106 LD_RE(ans) = pi3_4 + pi3_4_l; in cacosl()
108 LD_RE(ans) = x; in cacosl()
111 LD_RE(ans) = y + x; in cacosl()
[all …]
H A Dcatan.c93 dcomplex ans; in catan() local
112 D_RE(ans) = pi_2; in catan()
113 D_IM(ans) = zero; in catan()
115 D_RE(ans) = x + x; in catan()
117 D_IM(ans) = zero; in catan()
119 D_IM(ans) = (fabs(y) - ay) / (fabs(y) - ay); in catan()
124 D_RE(ans) = pi_2; in catan()
125 D_IM(ans) = zero; in catan()
127 D_RE(ans) = (fabs(x) - ax) / (fabs(x) - ax); in catan()
128 D_IM(ans) = y; in catan()
[all …]
H A Dcatanl.c127 ldcomplex ans; in catanl() local
143 LD_RE(ans) = pi_2; in catanl()
144 LD_IM(ans) = zero; in catanl()
146 LD_RE(ans) = x + x; in catanl()
148 LD_IM(ans) = zero; in catanl()
150 LD_IM(ans) = (fabsl(y) - ay) / (fabsl(y) - ay); in catanl()
155 LD_RE(ans) = pi_2; in catanl()
156 LD_IM(ans) = zero; in catanl()
158 LD_RE(ans) = (fabsl(x) - ax) / (fabsl(x) - ax); in catanl()
159 LD_IM(ans) = y; in catanl()
[all …]
H A Dcatanf.c47 fcomplex ans; in catanf() local
63 F_RE(ans) = pi_2; in catanf()
64 F_IM(ans) = zero; in catanf()
66 F_RE(ans) = x * x; in catanf()
68 F_IM(ans) = zero; in catanf()
70 F_IM(ans) = (fabsf(y) - ay) / (fabsf(y) - ay); in catanf()
74 F_RE(ans) = pi_2; in catanf()
75 F_IM(ans) = zero; in catanf()
77 F_RE(ans) = (fabsf(x) - ax) / (fabsf(x) - ax); in catanf()
78 F_IM(ans) = y * y; in catanf()
[all …]
H A Dctanhf.c43 fcomplex ans; in ctanhf() local
55 F_RE(ans) = tanhf(x); in ctanhf()
56 F_IM(ans) = zero; in ctanhf()
59 F_RE(ans) = F_IM(ans) = y - y; in ctanhf()
61 F_RE(ans) = one; in ctanhf()
62 F_IM(ans) = zero; in ctanhf()
64 F_RE(ans) = x + y; in ctanhf()
65 F_IM(ans) = y - y; in ctanhf()
72 F_RE(ans) = one; in ctanhf()
82 F_RE(ans) = F_IM(ans) = x + y; in ctanhf()
[all …]
H A Dctanhl.c44 ldcomplex ans; in ctanhl() local
56 LD_RE(ans) = tanhl(x); in ctanhl()
57 LD_IM(ans) = zero; in ctanhl()
60 LD_RE(ans) = LD_IM(ans) = y - y; in ctanhl()
62 LD_RE(ans) = one; in ctanhl()
63 LD_IM(ans) = zero; in ctanhl()
65 LD_RE(ans) = x + y; in ctanhl()
66 LD_IM(ans) = y - y; in ctanhl()
75 LD_RE(ans) = one; in ctanhl()
85 LD_RE(ans) = LD_IM(ans) = x + y; in ctanhl()
[all …]
H A Dcsinh.c85 dcomplex ans; in csinh() local
103 D_RE(ans) = x; in csinh()
104 D_IM(ans) = y; in csinh()
106 D_RE(ans) = x; in csinh()
107 D_IM(ans) = x - y; in csinh()
109 D_RE(ans) = C * x; in csinh()
110 D_IM(ans) = S * x; in csinh()
115 D_RE(ans) = scalbn(C * t, n - 1); in csinh()
116 D_IM(ans) = scalbn(S * t, n - 1); in csinh()
120 D_RE(ans) = C * t; in csinh()
[all …]
H A Dcsinhl.c43 ldcomplex ans; in csinhl() local
59 LD_RE(ans) = x; in csinhl()
60 LD_IM(ans) = y; in csinhl()
62 LD_RE(ans) = x; in csinhl()
63 LD_IM(ans) = x - y; in csinhl()
65 LD_RE(ans) = C * x; in csinhl()
66 LD_IM(ans) = S * x; in csinhl()
71 LD_RE(ans) = scalbnl(C * t, n - 1); in csinhl()
72 LD_IM(ans) = scalbnl(S * t, n - 1); in csinhl()
76 LD_RE(ans) = C * t; in csinhl()
[all …]
H A Dcsqrtf.c41 fcomplex ans; in csqrtf() local
57 F_IM(ans) = F_RE(ans) = ay; in csqrtf()
60 F_RE(ans) = ax; in csqrtf()
61 F_IM(ans) = ay * zero; in csqrtf()
63 F_RE(ans) = ay * zero; in csqrtf()
64 F_IM(ans) = ax; in csqrtf()
67 F_IM(ans) = F_RE(ans) = ax + ay; in csqrtf()
70 F_RE(ans) = sqrtf(ax); in csqrtf()
71 F_IM(ans) = zero; in csqrtf()
73 F_IM(ans) = sqrtf(ax); in csqrtf()
[all …]
H A Dctanh.c101 dcomplex ans; in ctanh() local
115 D_RE(ans) = tanh(x); in ctanh()
116 D_IM(ans) = zero; in ctanh()
119 D_RE(ans) = D_IM(ans) = y - y; in ctanh()
121 D_RE(ans) = one; in ctanh()
122 D_IM(ans) = zero; in ctanh()
124 D_RE(ans) = x + y; in ctanh()
125 D_IM(ans) = y - y; in ctanh()
132 D_RE(ans) = one; in ctanh()
142 D_RE(ans) = D_IM(ans) = x + y; in ctanh()
[all …]
H A Dcsinhf.c45 fcomplex ans; in csinhf() local
61 F_RE(ans) = x; in csinhf()
62 F_IM(ans) = y; in csinhf()
64 F_RE(ans) = x; in csinhf()
65 F_IM(ans) = x - y; in csinhf()
67 F_RE(ans) = C * x; in csinhf()
68 F_IM(ans) = S * x; in csinhf()
76 F_RE(ans) = (float)scalbn(C * t, n - 1); in csinhf()
77 F_IM(ans) = (float)scalbn(S * t, n - 1); in csinhf()
85 F_RE(ans) = C * t; in csinhf()
[all …]
H A Dccoshl.c43 ldcomplex ans; in ccoshl() local
59 LD_RE(ans) = x; in ccoshl()
60 LD_IM(ans) = y; in ccoshl()
62 LD_RE(ans) = x; in ccoshl()
63 LD_IM(ans) = x - y; in ccoshl()
65 LD_RE(ans) = C * x; in ccoshl()
66 LD_IM(ans) = S * x; in ccoshl()
71 LD_RE(ans) = scalbnl(C * t, n - 1); in ccoshl()
72 LD_IM(ans) = scalbnl(S * t, n - 1); in ccoshl()
76 LD_RE(ans) = C * t; in ccoshl()
[all …]
H A Dccosh.c85 dcomplex ans; in ccosh() local
103 D_RE(ans) = x; in ccosh()
104 D_IM(ans) = y; in ccosh()
106 D_RE(ans) = x; in ccosh()
107 D_IM(ans) = x - y; in ccosh()
109 D_RE(ans) = C * x; in ccosh()
110 D_IM(ans) = S * x; in ccosh()
115 D_RE(ans) = scalbn(C * t, n - 1); in ccosh()
116 D_IM(ans) = scalbn(S * t, n - 1); in ccosh()
120 D_RE(ans) = C * t; in ccosh()
[all …]
H A Dcsqrtl.c49 ldcomplex ans; local
64 LD_IM(ans) = LD_RE(ans) = ay;
67 LD_RE(ans) = ax;
68 LD_IM(ans) = ay * zero;
70 LD_RE(ans) = ay * zero;
71 LD_IM(ans) = ax;
74 LD_IM(ans) = LD_RE(ans) = ax + ay;
77 LD_RE(ans) = sqrtl(ax);
78 LD_IM(ans) = zero;
80 LD_IM(ans) = sqrtl(ax);
[all …]
H A Dcsqrt.c121 dcomplex ans; in csqrt() local
138 D_IM(ans) = D_RE(ans) = ay; in csqrt()
141 D_RE(ans) = ax; in csqrt()
142 D_IM(ans) = ay * zero; in csqrt()
144 D_RE(ans) = ay * zero; in csqrt()
145 D_IM(ans) = ax; in csqrt()
148 D_IM(ans) = D_RE(ans) = ax + ay; in csqrt()
151 D_RE(ans) = sqrt(ax); in csqrt()
152 D_IM(ans) = zero; in csqrt()
154 D_IM(ans) = sqrt(ax); in csqrt()
[all …]
H A Dccoshf.c45 fcomplex ans; in ccoshf() local
61 F_RE(ans) = x; in ccoshf()
62 F_IM(ans) = y; in ccoshf()
64 F_RE(ans) = x; in ccoshf()
65 F_IM(ans) = x - y; in ccoshf()
67 F_RE(ans) = C * x; in ccoshf()
68 F_IM(ans) = S * x; in ccoshf()
76 F_RE(ans) = (float)scalbn(C * w, n - 1); in ccoshf()
77 F_IM(ans) = (float)scalbn(S * w, n - 1); in ccoshf()
85 F_RE(ans) = C * t; in ccoshf()
[all …]
H A Dcexpl.c44 ldcomplex ans; in cexpl() local
55 LD_RE(ans) = expl(x); in cexpl()
56 LD_IM(ans) = y; in cexpl()
60 LD_RE(ans) = zero; in cexpl()
61 LD_IM(ans) = zero; in cexpl()
64 LD_RE(ans) = zero * c; in cexpl()
65 LD_IM(ans) = zero * s; in cexpl()
69 LD_RE(ans) = x; in cexpl()
70 LD_IM(ans) = y - y; in cexpl()
73 LD_RE(ans) = x * c; in cexpl()
[all …]
H A Dcexp.c68 dcomplex ans; in cexp() local
81 D_RE(ans) = exp(x); in cexp()
82 D_IM(ans) = y; in cexp()
86 D_RE(ans) = zero; in cexp()
87 D_IM(ans) = zero; in cexp()
90 D_RE(ans) = zero * c; in cexp()
91 D_IM(ans) = zero * s; in cexp()
95 D_RE(ans) = x; in cexp()
96 D_IM(ans) = y - y; in cexp()
99 D_RE(ans) = x * c; in cexp()
[all …]
H A Dcexpf.c42 fcomplex ans; in cexpf() local
54 F_RE(ans) = expf(x); in cexpf()
55 F_IM(ans) = y; in cexpf()
59 F_RE(ans) = zero; in cexpf()
60 F_IM(ans) = zero; in cexpf()
63 F_RE(ans) = zero * c; in cexpf()
64 F_IM(ans) = zero * s; in cexpf()
68 F_RE(ans) = x; in cexpf()
69 F_IM(ans) = y - y; in cexpf()
72 F_RE(ans) = x * c; in cexpf()
[all …]
H A Dclogl.c50 ldcomplex ans; in clogl() local
62 LD_IM(ans) = atan2l(y, x); in clogl()
74 LD_RE(ans) = ax; in clogl()
76 LD_RE(ans) = ay; in clogl()
78 LD_RE(ans) = ax + ay; in clogl()
80 LD_RE(ans) = logl(ax); in clogl()
85 LD_RE(ans) = half * log1pl(ay * ay); in clogl()
87 LD_RE(ans) = logl(ax); in clogl()
89 LD_RE(ans) = half * (log1pl(ay * ay + (ax - in clogl()
92 LD_RE(ans) = logl(ax); in clogl()
[all …]
H A Dcpowf.c55 fcomplex ans; in cpowf() local
76 F_RE(ans) = x; in cpowf()
77 F_IM(ans) = y; in cpowf()
79 F_RE(ans) = one; in cpowf()
80 F_IM(ans) = zero; in cpowf()
82 F_IM(ans) = zero; in cpowf()
87 F_RE(ans) = (c == zero)? c: c * t; in cpowf()
88 F_IM(ans) = (s == zero)? s: s * t; in cpowf()
90 F_RE(ans) = powf(x, u); in cpowf()
94 F_RE(ans) = F_IM(ans) = x + y + u; in cpowf()
[all …]
H A Dclog.c72 dcomplex ans; in __clog() local
87 D_IM(ans) = carg(z); in __clog()
101 D_RE(ans) = ax; in __clog()
103 D_RE(ans) = ay; in __clog()
105 D_RE(ans) = ax * ay; in __clog()
107 D_RE(ans) = ((ix | lx) == 0)? -one / ax : log(ax); in __clog()
112 D_RE(ans) = half * log1p(ay * ay); in __clog()
114 D_RE(ans) = log(ax); in __clog()
116 D_RE(ans) = half * (log1p(ay * ay + (ax - in __clog()
119 D_RE(ans) = log(ax); in __clog()
[all …]

12345