Lines Matching +full:- +full:t
3 static int mpf1(struct t *s, float (*f)(float)) in mpf1()
5 s->dy = 0; in mpf1()
6 setupfenv(s->r); in mpf1()
7 s->y = f(s->x); in mpf1()
8 s->e = getexcept(); in mpf1()
12 static int mpf2(struct t *s, float (*f)(float,float)) in mpf2()
14 s->dy = 0; in mpf2()
15 setupfenv(s->r); in mpf2()
16 s->y = f(s->x, s->x2); in mpf2()
17 s->e = getexcept(); in mpf2()
21 static int mpd1(struct t *s, double (*f)(double)) in mpd1()
23 s->dy = 0; in mpd1()
24 setupfenv(s->r); in mpd1()
25 s->y = f(s->x); in mpd1()
26 s->e = getexcept(); in mpd1()
30 static int mpd2(struct t *s, double (*f)(double, double)) in mpd2()
32 s->dy = 0; in mpd2()
33 setupfenv(s->r); in mpd2()
34 s->y = f(s->x, s->x2); in mpd2()
35 s->e = getexcept(); in mpd2()
39 static int mpl1(struct t *s, long double (*f)(long double)) in mpl1()
41 s->dy = 0; in mpl1()
42 setupfenv(s->r); in mpl1()
43 s->y = f(s->x); in mpl1()
44 s->e = getexcept(); in mpl1()
48 static int mpl2(struct t *s, long double (*f)(long double, long double)) in mpl2()
50 setupfenv(s->r); in mpl2()
51 s->y = f(s->x, s->x2); in mpl2()
52 s->dy = 0; in mpl2()
53 s->e = getexcept(); in mpl2()
58 int mpsinpi(struct t *t) { return mpd1(t, sinpi); } in mpsinpi() argument
61 #define OP(n,op,t) static t n(t x, t y) { t z = x op y; return z; } argument
71 int mpadd(struct t *t) { return mpd2(t, add); } in mpadd() argument
72 int mpaddf(struct t *t) { return mpf2(t, addf); } in mpaddf() argument
73 int mpaddl(struct t *t) { return mpl2(t, addl); } in mpaddl() argument
74 int mpmul(struct t *t) { return mpd2(t, mul); } in mpmul() argument
75 int mpmulf(struct t *t) { return mpf2(t, mulf); } in mpmulf() argument
76 int mpmull(struct t *t) { return mpl2(t, mull); } in mpmull() argument
77 int mpdiv(struct t *t) { return mpd2(t, div); } in mpdiv() argument
78 int mpdivf(struct t *t) { return mpf2(t, divf); } in mpdivf() argument
79 int mpdivl(struct t *t) { return mpl2(t, divl); } in mpdivl() argument
81 int mpacos(struct t *t) { return mpd1(t, acos); } in mpacos() argument
82 int mpacosf(struct t *t) { return mpf1(t, acosf); } in mpacosf() argument
83 int mpacosl(struct t *t) { return mpl1(t, acosl); } in mpacosl() argument
84 int mpacosh(struct t *t) { return mpd1(t, acosh); } in mpacosh() argument
85 int mpacoshf(struct t *t) { return mpf1(t, acoshf); } in mpacoshf() argument
86 int mpacoshl(struct t *t) { return mpl1(t, acoshl); } in mpacoshl() argument
87 int mpasin(struct t *t) { return mpd1(t, asin); } in mpasin() argument
88 int mpasinf(struct t *t) { return mpf1(t, asinf); } in mpasinf() argument
89 int mpasinl(struct t *t) { return mpl1(t, asinl); } in mpasinl() argument
90 int mpasinh(struct t *t) { return mpd1(t, asinh); } in mpasinh() argument
91 int mpasinhf(struct t *t) { return mpf1(t, asinhf); } in mpasinhf() argument
92 int mpasinhl(struct t *t) { return mpl1(t, asinhl); } in mpasinhl() argument
93 int mpatan(struct t *t) { return mpd1(t, atan); } in mpatan() argument
94 int mpatanf(struct t *t) { return mpf1(t, atanf); } in mpatanf() argument
95 int mpatanl(struct t *t) { return mpl1(t, atanl); } in mpatanl() argument
96 int mpatan2(struct t *t) { return mpd2(t, atan2); } in mpatan2() argument
97 int mpatan2f(struct t *t) { return mpf2(t, atan2f); } in mpatan2f() argument
98 int mpatan2l(struct t *t) { return mpl2(t, atan2l); } in mpatan2l() argument
99 int mpatanh(struct t *t) { return mpd1(t, atanh); } in mpatanh() argument
100 int mpatanhf(struct t *t) { return mpf1(t, atanhf); } in mpatanhf() argument
101 int mpatanhl(struct t *t) { return mpl1(t, atanhl); } in mpatanhl() argument
102 int mpcbrt(struct t *t) { return mpd1(t, cbrt); } in mpcbrt() argument
103 int mpcbrtf(struct t *t) { return mpf1(t, cbrtf); } in mpcbrtf() argument
104 int mpcbrtl(struct t *t) { return mpl1(t, cbrtl); } in mpcbrtl() argument
105 int mpceil(struct t *t) { return mpd1(t, ceil); } in mpceil() argument
106 int mpceilf(struct t *t) { return mpf1(t, ceilf); } in mpceilf() argument
107 int mpceill(struct t *t) { return mpl1(t, ceill); } in mpceill() argument
108 int mpcopysign(struct t *t) { return mpd2(t, copysign); } in mpcopysign() argument
109 int mpcopysignf(struct t *t) { return mpf2(t, copysignf); } in mpcopysignf() argument
110 int mpcopysignl(struct t *t) { return mpl2(t, copysignl); } in mpcopysignl() argument
111 int mpcos(struct t *t) { return mpd1(t, cos); } in mpcos() argument
112 int mpcosf(struct t *t) { return mpf1(t, cosf); } in mpcosf() argument
113 int mpcosl(struct t *t) { return mpl1(t, cosl); } in mpcosl() argument
114 int mpcosh(struct t *t) { return mpd1(t, cosh); } in mpcosh() argument
115 int mpcoshf(struct t *t) { return mpf1(t, coshf); } in mpcoshf() argument
116 int mpcoshl(struct t *t) { return mpl1(t, coshl); } in mpcoshl() argument
117 int mperf(struct t *t) { return mpd1(t, erf); } in mperf() argument
118 int mperff(struct t *t) { return mpf1(t, erff); } in mperff() argument
119 int mperfl(struct t *t) { return mpl1(t, erfl); } in mperfl() argument
120 int mperfc(struct t *t) { return mpd1(t, erfc); } in mperfc() argument
121 int mperfcf(struct t *t) { return mpf1(t, erfcf); } in mperfcf() argument
122 int mperfcl(struct t *t) { return mpl1(t, erfcl); } in mperfcl() argument
123 int mpexp(struct t *t) { return mpd1(t, exp); } in mpexp() argument
124 int mpexpf(struct t *t) { return mpf1(t, expf); } in mpexpf() argument
125 int mpexpl(struct t *t) { return mpl1(t, expl); } in mpexpl() argument
126 int mpexp2(struct t *t) { return mpd1(t, exp2); } in mpexp2() argument
127 int mpexp2f(struct t *t) { return mpf1(t, exp2f); } in mpexp2f() argument
128 int mpexp2l(struct t *t) { return mpl1(t, exp2l); } in mpexp2l() argument
129 int mpexpm1(struct t *t) { return mpd1(t, expm1); } in mpexpm1() argument
130 int mpexpm1f(struct t *t) { return mpf1(t, expm1f); } in mpexpm1f() argument
131 int mpexpm1l(struct t *t) { return mpl1(t, expm1l); } in mpexpm1l() argument
132 int mpfabs(struct t *t) { return mpd1(t, fabs); } in mpfabs() argument
133 int mpfabsf(struct t *t) { return mpf1(t, fabsf); } in mpfabsf() argument
134 int mpfabsl(struct t *t) { return mpl1(t, fabsl); } in mpfabsl() argument
135 int mpfdim(struct t *t) { return mpd2(t, fdim); } in mpfdim() argument
136 int mpfdimf(struct t *t) { return mpf2(t, fdimf); } in mpfdimf() argument
137 int mpfdiml(struct t *t) { return mpl2(t, fdiml); } in mpfdiml() argument
138 int mpfloor(struct t *t) { return mpd1(t, floor); } in mpfloor() argument
139 int mpfloorf(struct t *t) { return mpf1(t, floorf); } in mpfloorf() argument
140 int mpfloorl(struct t *t) { return mpl1(t, floorl); } in mpfloorl() argument
141 int mpfmax(struct t *t) { return mpd2(t, fmax); } in mpfmax() argument
142 int mpfmaxf(struct t *t) { return mpf2(t, fmaxf); } in mpfmaxf() argument
143 int mpfmaxl(struct t *t) { return mpl2(t, fmaxl); } in mpfmaxl() argument
144 int mpfmin(struct t *t) { return mpd2(t, fmin); } in mpfmin() argument
145 int mpfminf(struct t *t) { return mpf2(t, fminf); } in mpfminf() argument
146 int mpfminl(struct t *t) { return mpl2(t, fminl); } in mpfminl() argument
147 int mpfmod(struct t *t) { return mpd2(t, fmod); } in mpfmod() argument
148 int mpfmodf(struct t *t) { return mpf2(t, fmodf); } in mpfmodf() argument
149 int mpfmodl(struct t *t) { return mpl2(t, fmodl); } in mpfmodl() argument
150 int mphypot(struct t *t) { return mpd2(t, hypot); } in mphypot() argument
151 int mphypotf(struct t *t) { return mpf2(t, hypotf); } in mphypotf() argument
152 int mphypotl(struct t *t) { return mpl2(t, hypotl); } in mphypotl() argument
153 int mplog(struct t *t) { return mpd1(t, log); } in mplog() argument
154 int mplogf(struct t *t) { return mpf1(t, logf); } in mplogf() argument
155 int mplogl(struct t *t) { return mpl1(t, logl); } in mplogl() argument
156 int mplog10(struct t *t) { return mpd1(t, log10); } in mplog10() argument
157 int mplog10f(struct t *t) { return mpf1(t, log10f); } in mplog10f() argument
158 int mplog10l(struct t *t) { return mpl1(t, log10l); } in mplog10l() argument
159 int mplog1p(struct t *t) { return mpd1(t, log1p); } in mplog1p() argument
160 int mplog1pf(struct t *t) { return mpf1(t, log1pf); } in mplog1pf() argument
161 int mplog1pl(struct t *t) { return mpl1(t, log1pl); } in mplog1pl() argument
162 int mplog2(struct t *t) { return mpd1(t, log2); } in mplog2() argument
163 int mplog2f(struct t *t) { return mpf1(t, log2f); } in mplog2f() argument
164 int mplog2l(struct t *t) { return mpl1(t, log2l); } in mplog2l() argument
165 int mplogb(struct t *t) { return mpd1(t, logb); } in mplogb() argument
166 int mplogbf(struct t *t) { return mpf1(t, logbf); } in mplogbf() argument
167 int mplogbl(struct t *t) { return mpl1(t, logbl); } in mplogbl() argument
168 int mpnearbyint(struct t *t) { return mpd1(t, nearbyint); } in mpnearbyint() argument
169 int mpnearbyintf(struct t *t) { return mpf1(t, nearbyintf); } in mpnearbyintf() argument
170 int mpnearbyintl(struct t *t) { return mpl1(t, nearbyintl); } in mpnearbyintl() argument
171 int mpnextafter(struct t *t) { return mpd2(t, nextafter); } in mpnextafter() argument
172 int mpnextafterf(struct t *t) { return mpf2(t, nextafterf); } in mpnextafterf() argument
173 int mpnextafterl(struct t *t) { return mpl2(t, nextafterl); } in mpnextafterl() argument
174 int mpnexttoward(struct t *t) in mpnexttoward() argument
177 t->y = nexttoward(t->x, t->x2); in mpnexttoward()
178 t->e = getexcept(); in mpnexttoward()
179 t->dy = 0; in mpnexttoward()
182 int mpnexttowardf(struct t *t) in mpnexttowardf() argument
185 t->y = nexttowardf(t->x, t->x2); in mpnexttowardf()
186 t->e = getexcept(); in mpnexttowardf()
187 t->dy = 0; in mpnexttowardf()
190 int mpnexttowardl(struct t *t) { return mpl2(t, nexttowardl); } in mpnexttowardl() argument
191 int mppow(struct t *t) { return mpd2(t, pow); } in mppow() argument
192 int mppowf(struct t *t) { return mpf2(t, powf); } in mppowf() argument
193 int mppowl(struct t *t) { return mpl2(t, powl); } in mppowl() argument
194 int mpremainder(struct t *t) { return mpd2(t, remainder); } in mpremainder() argument
195 int mpremainderf(struct t *t) { return mpf2(t, remainderf); } in mpremainderf() argument
196 int mpremainderl(struct t *t) { return mpl2(t, remainderl); } in mpremainderl() argument
197 int mprint(struct t *t) { return mpd1(t, rint); } in mprint() argument
198 int mprintf(struct t *t) { return mpf1(t, rintf); } in mprintf() argument
199 int mprintl(struct t *t) { return mpl1(t, rintl); } in mprintl() argument
200 int mpround(struct t *t) { return mpd1(t, round); } in mpround() argument
201 int mproundf(struct t *t) { return mpf1(t, roundf); } in mproundf() argument
202 int mproundl(struct t *t) { return mpl1(t, roundl); } in mproundl() argument
203 int mpsin(struct t *t) { return mpd1(t, sin); } in mpsin() argument
204 int mpsinf(struct t *t) { return mpf1(t, sinf); } in mpsinf() argument
205 int mpsinl(struct t *t) { return mpl1(t, sinl); } in mpsinl() argument
206 int mpsinh(struct t *t) { return mpd1(t, sinh); } in mpsinh() argument
207 int mpsinhf(struct t *t) { return mpf1(t, sinhf); } in mpsinhf() argument
208 int mpsinhl(struct t *t) { return mpl1(t, sinhl); } in mpsinhl() argument
209 int mpsqrt(struct t *t) { return mpd1(t, sqrt); } in mpsqrt() argument
210 int mpsqrtf(struct t *t) { return mpf1(t, sqrtf); } in mpsqrtf() argument
211 int mpsqrtl(struct t *t) { return mpl1(t, sqrtl); } in mpsqrtl() argument
212 int mptan(struct t *t) { return mpd1(t, tan); } in mptan() argument
213 int mptanf(struct t *t) { return mpf1(t, tanf); } in mptanf() argument
214 int mptanl(struct t *t) { return mpl1(t, tanl); } in mptanl() argument
215 int mptanh(struct t *t) { return mpd1(t, tanh); } in mptanh() argument
216 int mptanhf(struct t *t) { return mpf1(t, tanhf); } in mptanhf() argument
217 int mptanhl(struct t *t) { return mpl1(t, tanhl); } in mptanhl() argument
218 int mptgamma(struct t *t) { return mpd1(t, tgamma); } in mptgamma() argument
219 int mptgammaf(struct t *t) { return mpf1(t, tgammaf); } in mptgammaf() argument
220 int mptgammal(struct t *t) { return mpl1(t, tgammal); } in mptgammal() argument
221 int mptrunc(struct t *t) { return mpd1(t, trunc); } in mptrunc() argument
222 int mptruncf(struct t *t) { return mpf1(t, truncf); } in mptruncf() argument
223 int mptruncl(struct t *t) { return mpl1(t, truncl); } in mptruncl() argument
224 int mpj0(struct t *t) { return mpd1(t, j0); } in mpj0() argument
225 int mpj1(struct t *t) { return mpd1(t, j1); } in mpj1() argument
226 int mpy0(struct t *t) { return mpd1(t, y0); } in mpy0() argument
227 int mpy1(struct t *t) { return mpd1(t, y1); } in mpy1() argument
228 int mpscalb(struct t *t) { return mpd2(t, scalb); } in mpscalb() argument
229 int mpscalbf(struct t *t) { return mpf2(t, scalbf); } in mpscalbf() argument
230 int mpj0f(struct t *t) { return mpf1(t, j0f); } in mpj0f() argument
231 int mpj0l(struct t *t) { return -1;}//mpl1(t, j0l); } in mpj0l() argument
232 int mpj1f(struct t *t) { return mpf1(t, j1f); } in mpj1f() argument
233 int mpj1l(struct t *t) { return -1;}//mpl1(t, j1l); } in mpj1l() argument
234 int mpy0f(struct t *t) { return mpf1(t, y0f); } in mpy0f() argument
235 int mpy0l(struct t *t) { return -1;}//mpl1(t, y0l); } in mpy0l() argument
236 int mpy1f(struct t *t) { return mpf1(t, y1f); } in mpy1f() argument
237 int mpy1l(struct t *t) { return -1;}//mpl1(t, y1l); } in mpy1l() argument
238 int mpexp10(struct t *t) { return mpd1(t, exp10); } in mpexp10() argument
239 int mpexp10f(struct t *t) { return mpf1(t, exp10f); } in mpexp10f() argument
240 int mpexp10l(struct t *t) { return mpl1(t, exp10l); } in mpexp10l() argument
241 int mppow10(struct t *t) { return mpd1(t, pow10); } in mppow10() argument
242 int mppow10f(struct t *t) { return mpf1(t, pow10f); } in mppow10f() argument
243 int mppow10l(struct t *t) { return mpl1(t, pow10l); } in mppow10l() argument
246 int mp##n(struct t *t) \
248 t->dy = 0; \
249 setupfenv(t->r); \
250 t->y = n(t->x, t->i); \
251 t->e = getexcept(); \
266 int mp##n(struct t *t) \ in mp_fi_f()
269 t->dy = 0; \ in mp_fi_f()
270 setupfenv(t->r); \ in mp_fi_f()
271 t->y = n(t->x, &i); \ in mp_fi_f()
272 t->e = getexcept(); \ in mp_fi_f()
273 t->i = i; \ in mp_fi_f()
284 int mplgamma(struct t *t)
286 t->dy = 0;
287 setupfenv(t->r);
288 t->y = lgamma(t->x);
289 t->e = getexcept();
290 t->i = signgam;
294 int mplgammaf(struct t *t) in mplgammaf() argument
296 t->dy = 0; in mplgammaf()
297 setupfenv(t->r); in mplgammaf()
298 t->y = lgammaf(t->x); in mplgammaf()
299 t->e = getexcept(); in mplgammaf()
300 t->i = signgam; in mplgammaf()
304 int mplgammal(struct t *t) in mplgammal() argument
306 t->dy = 0; in mplgammal()
307 setupfenv(t->r); in mplgammal()
308 t->y = lgammal(t->x); in mplgammal()
309 t->e = getexcept(); in mplgammal()
310 t->i = signgam; in mplgammal()
315 int mp##n(struct t *t) \
317 setupfenv(t->r); \
318 t->i = n(t->x); \
319 t->e = getexcept(); \
339 int mpmodf(struct t *t) in mp_f_i()
343 t->dy = t->dy2 = 0; in mp_f_i()
344 setupfenv(t->r); in mp_f_i()
345 t->y = modf(t->x, &y2); in mp_f_i()
346 t->y2 = y2; in mp_f_i()
347 t->e = getexcept(); in mp_f_i()
351 int mpmodff(struct t *t) in mpmodff() argument
355 t->dy = t->dy2 = 0; in mpmodff()
356 setupfenv(t->r); in mpmodff()
357 t->y = modff(t->x, &y2); in mpmodff()
358 t->y2 = y2; in mpmodff()
359 t->e = getexcept(); in mpmodff()
363 int mpmodfl(struct t *t) in mpmodfl() argument
365 t->dy = t->dy2 = 0; in mpmodfl()
366 setupfenv(t->r); in mpmodfl()
367 t->y = modfl(t->x, &t->y2); in mpmodfl()
368 t->e = getexcept(); in mpmodfl()
372 int mpsincos(struct t *t) in mpsincos() argument
376 t->dy = t->dy2 = 0; in mpsincos()
377 setupfenv(t->r); in mpsincos()
378 sincos(t->x, &y, &y2); in mpsincos()
379 t->y = y; in mpsincos()
380 t->y2 = y2; in mpsincos()
381 t->e = getexcept(); in mpsincos()
385 int mpsincosf(struct t *t) in mpsincosf() argument
389 t->dy = t->dy2 = 0; in mpsincosf()
390 setupfenv(t->r); in mpsincosf()
391 sincosf(t->x, &y, &y2); in mpsincosf()
392 t->y = y; in mpsincosf()
393 t->y2 = y2; in mpsincosf()
394 t->e = getexcept(); in mpsincosf()
398 int mpsincosl(struct t *t) in mpsincosl() argument
400 t->dy = t->dy2 = 0; in mpsincosl()
401 setupfenv(t->r); in mpsincosl()
402 sincosl(t->x, &t->y, &t->y2); in mpsincosl()
403 t->e = getexcept(); in mpsincosl()
408 int mp##n(struct t *t) \
411 t->dy = 0; \
412 setupfenv(t->r); \
413 t->y = n(t->x, t->x2, &i); \
414 t->e = getexcept(); \
415 t->i = i; \
424 int mp##n(struct t *t) \
426 t->dy = 0; \
427 setupfenv(t->r); \
428 t->y = n(t->x, t->x2, t->x3); \
429 t->e = getexcept(); \
438 int mp##n(struct t *t) \
440 t->dy = 0; \
441 setupfenv(t->r); \
442 t->y = n(t->i, t->x); \
443 t->e = getexcept(); \