Lines Matching refs:mx
145 MPFR_DECL_INIT(mx, 24);
149 mpfr_set_flt(mx, p->x, MPFR_RNDN);
150 tn = fmp(my, mx, r);
160 MPFR_DECL_INIT(mx, 24);
165 mpfr_set_flt(mx, p->x, MPFR_RNDN);
167 tn = fmp(my, mx, mx2, r);
199 MPFR_DECL_INIT(mx, 53);
203 mpfr_set_d(mx, p->x, MPFR_RNDN);
204 tn = fmp(my, mx, r);
214 MPFR_DECL_INIT(mx, 53);
219 mpfr_set_d(mx, p->x, MPFR_RNDN);
221 tn = fmp(my, mx, mx2, r);
258 MPFR_DECL_INIT(mx, 64);
262 mpfr_set_ld(mx, p->x, MPFR_RNDN);
263 tn = fmp(my, mx, r);
279 MPFR_DECL_INIT(mx, 64);
284 mpfr_set_ld(mx, p->x, MPFR_RNDN);
286 tn = fmp(my, mx, mx2, r);
296 static int wrap_lgamma(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
298 return mpfr_lgamma(my, &mplgamma_sign, mx, r);
301 static int wrap_remquo(mpfr_t my, const mpfr_t mx, const mpfr_t mx2, mpfr_rnd_t r)
303 return mpfr_remquo(my, &mpremquo_q, mx, mx2, r);
306 static int wrap_jn(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
308 return mpfr_jn(my, mpbessel_n, mx, r);
310 static int wrap_yn(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
312 return mpfr_yn(my, mpbessel_n, mx, r);
314 static int wrap_ceil(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
316 return mpfr_ceil(my, mx);
318 static int wrap_floor(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
320 return mpfr_floor(my, mx);
322 static int wrap_round(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
324 return mpfr_round(my, mx);
326 static int wrap_trunc(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
328 return mpfr_trunc(my, mx);
330 static int wrap_nearbyint(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
332 int i = mpfr_rint(my, mx, r);
336 static int wrap_pow10(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
338 return mpfr_ui_pow(my, 10, mx, r);
342 static int wrap_sinpi(mpfr_t my, const mpfr_t mx, mpfr_rnd_t r)
347 mpfr_mul(mz,mz,mx,r);
451 MPFR_DECL_INIT(mx, 53);
468 mpfr_set_d(mx, t->x, MPFR_RNDN);
469 t->y = mpfr_get_exp(mx) - 1;
474 MPFR_DECL_INIT(mx, 24);
491 mpfr_set_flt(mx, t->x, MPFR_RNDN);
492 t->y = mpfr_get_exp(mx) - 1;
497 MPFR_DECL_INIT(mx, 64);
514 mpfr_set_ld(mx, t->x, MPFR_RNDN);
515 t->y = mpfr_get_exp(mx) - 1;
637 MPFR_DECL_INIT(mx, 53);
642 mpfr_set_d(mx, t->x, MPFR_RNDN);
643 k = mpfr_frexp(&e, mx, mx, t->r);
644 t->y = mpfr_get_d(mx, MPFR_RNDN);
654 MPFR_DECL_INIT(mx, 24);
659 mpfr_set_flt(mx, t->x, MPFR_RNDN);
660 k = mpfr_frexp(&e, mx, mx, t->r);
661 t->y = mpfr_get_flt(mx, MPFR_RNDN);
671 MPFR_DECL_INIT(mx, 64);
676 mpfr_set_ld(mx, t->x, MPFR_RNDN);
677 k = mpfr_frexp(&e, mx, mx, t->r);
678 t->y = mpfr_get_ld(mx, MPFR_RNDN);
687 MPFR_DECL_INIT(mx, 53);
692 mpfr_set_d(mx, t->x, MPFR_RNDN);
693 k = mpfr_mul_2si(mx, mx, t->i, t->r);
694 adjust(mx, mx, k, t->r, DBL);
695 t->y = mpfr_get_d(mx, MPFR_RNDN);
703 MPFR_DECL_INIT(mx, 24);
708 mpfr_set_flt(mx, t->x, MPFR_RNDN);
709 k = mpfr_mul_2si(mx, mx, t->i, t->r);
710 adjust(mx, mx, k, t->r, FLT);
711 t->y = mpfr_get_flt(mx, MPFR_RNDN);
719 MPFR_DECL_INIT(mx, 64);
724 mpfr_set_ld(mx, t->x, MPFR_RNDN);
725 k = mpfr_mul_2si(mx, mx, t->i, t->r);
726 adjust(mx, mx, k, t->r, LDBL);
727 t->y = mpfr_get_ld(mx, MPFR_RNDN);
745 MPFR_DECL_INIT(mx, 53);
747 mpfr_set_d(mx, t->x, MPFR_RNDN);
748 t->i = mpfr_get_exp(mx) - 1;
756 MPFR_DECL_INIT(mx, 24);
758 mpfr_set_flt(mx, t->x, MPFR_RNDN);
759 t->i = mpfr_get_exp(mx) - 1;
767 MPFR_DECL_INIT(mx, 64);
769 mpfr_set_ld(mx, t->x, MPFR_RNDN);
770 t->i = mpfr_get_exp(mx) - 1;
900 MPFR_DECL_INIT(mx, 53);
906 mpfr_set_d(mx, t->x, MPFR_RNDN);
909 tn = mpfr_fma(my, mx, mx2, mx3, r);
918 MPFR_DECL_INIT(mx, 24);
924 mpfr_set_flt(mx, t->x, MPFR_RNDN);
927 tn = mpfr_fma(my, mx, mx2, mx3, r);
939 MPFR_DECL_INIT(mx, 64);
945 mpfr_set_ld(mx, t->x, MPFR_RNDN);
948 tn = mpfr_fma(my, mx, mx2, mx3, r);