/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/src/ |
H A D | add_fr.c | 28 int inex_re, inex_im; local 30 inex_re = mpfr_add (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd)); 33 return MPC_INEX(inex_re, inex_im);
|
H A D | add_si.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_add_si (MPC_RE (rop), MPC_RE (op1), op2, MPC_RND_RE (rnd)); 32 return MPC_INEX (inex_re, inex_im);
|
H A D | add_ui.c | 28 int inex_re, inex_im; local 30 inex_re = mpfr_add_ui (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd)); 33 return MPC_INEX(inex_re, inex_im);
|
H A D | conj.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_set (MPC_RE(a), MPC_RE(b), MPC_RND_RE(rnd)); 32 return MPC_INEX(inex_re, inex_im);
|
H A D | div_2exp.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_div_2exp (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd)); 32 return MPC_INEX(inex_re, inex_im);
|
H A D | div_ui.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_div_ui (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd)); 32 return MPC_INEX(inex_re, inex_im);
|
H A D | mul_2exp.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_mul_2exp (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd)); 32 return MPC_INEX(inex_re, inex_im);
|
H A D | mul_si.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_mul_si (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd)); 32 return MPC_INEX(inex_re, inex_im);
|
H A D | mul_ui.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_mul_ui (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd)); 32 return MPC_INEX(inex_re, inex_im);
|
H A D | neg.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_neg (MPC_RE(a), MPC_RE(b), MPC_RND_RE(rnd)); 32 return MPC_INEX(inex_re, inex_im);
|
H A D | set.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_set (MPC_RE(a), MPC_RE(b), MPC_RND_RE(rnd)); 32 return MPC_INEX(inex_re, inex_im);
|
H A D | sub_fr.c | 29 int inex_re, inex_im; local 31 inex_re = mpfr_sub (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd)); 34 return MPC_INEX(inex_re, inex_im);
|
H A D | sub_ui.c | 28 int inex_re, inex_im; local 30 inex_re = mpfr_sub_ui (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd)); 33 return MPC_INEX(inex_re, inex_im);
|
H A D | ui_ui_sub.c | 29 int inex_re, inex_im; local 31 inex_re = mpfr_ui_sub (MPC_RE (rop), re, MPC_RE (op), MPC_RND_RE (rnd)); 34 return MPC_INEX (inex_re, inex_im);
|
H A D | add.c | 28 int inex_re, inex_im; local 30 inex_re = mpfr_add (MPC_RE(a), MPC_RE(b), MPC_RE(c), MPC_RND_RE(rnd)); 33 return MPC_INEX(inex_re, inex_im);
|
H A D | fr_sub.c | 28 int inex_re, inex_im; local 30 inex_re = mpfr_sub (MPC_RE(a), b, MPC_RE(c), MPC_RND_RE(rnd)); 34 return MPC_INEX(inex_re, inex_im);
|
H A D | sub.c | 27 int inex_re, inex_im; local 29 inex_re = mpfr_sub (MPC_RE(a), MPC_RE(b), MPC_RE(c), MPC_RND_RE(rnd)); 32 return MPC_INEX(inex_re, inex_im);
|
H A D | mul_i.c | 28 int inex_re, inex_im; local 46 inex_re = 0; 56 inex_re = mpfr_neg (tmp, MPC_IM (b), MPC_RND_RE (rnd)); 61 inex_re = mpfr_set (tmp, MPC_IM (b), MPC_RND_RE (rnd)); 70 inex_re = mpfr_neg (MPC_RE (a), MPC_IM (b), MPC_RND_RE (rnd)); 75 inex_re = mpfr_set (MPC_RE (a), MPC_IM (b), MPC_RND_RE (rnd)); 80 return MPC_INEX(inex_re, inex_im);
|
H A D | div_fr.c | 27 int inex_re, inex_im; local 33 inex_re = mpfr_div (real, MPC_RE(b), c, MPC_RND_RE(rnd)); 39 return MPC_INEX(inex_re, inex_im);
|
H A D | mul_fr.c | 27 int inex_re, inex_im; local 36 inex_re = mpfr_mul (real, MPC_RE(b), c, MPC_RND_RE(rnd)); 43 return MPC_INEX(inex_re, inex_im);
|
H A D | sqr.c | 34 int inex_re, inex_im, inexact; local 75 inex_re = mpfr_sqr (MPC_RE(rop), MPC_RE(op), MPC_RND_RE(rnd)); 79 return MPC_INEX(inex_re, inex_im); 84 inex_re = -mpfr_sqr (MPC_RE(rop), MPC_IM(op), INV_RND (MPC_RND_RE(rnd))); 89 return MPC_INEX(inex_re, inex_im); 106 inex_re = mpfr_sub (rop->re, u, v, MPC_RND_RE (rnd)); 110 return MPC_INEX (inex_re, inex_im); 143 /* determine also the sign of inex_re */ 148 inex_re = 0; 164 inex_re [all...] |
H A D | exp.c | 30 int inex_re, inex_im; local 67 inex_re = mpfr_exp (MPC_RE(rop), MPC_RE(op), MPC_RND_RE(rnd)); 69 return MPC_INEX(inex_re, inex_im); 75 inex_re = mpfr_cos (MPC_RE (rop), MPC_IM (op), MPC_RND_RE(rnd)); 77 return MPC_INEX(inex_re, inex_im); 97 inex_re = mpfr_set (MPC_RE (rop), n, GMP_RNDN); 113 inex_re = mpfr_copysign (MPC_RE (rop), n, c, GMP_RNDN); 121 return MPC_INEX(inex_re, inex_im); 174 inex_re = mpfr_set (MPC_RE(rop), y, MPC_RND_RE(rnd)); 178 inex_re [all...] |
H A D | acos.c | 28 int inex_re, inex_im, inex; local 36 inex_re = 0; 49 inex_re = set_pi_over_2 (MPC_RE (rop), +1, MPC_RND_RE (rnd)); 58 return MPC_INEX (inex_re, 0); 69 inex_re = 99 inex_re = 109 inex_re = mpfr_const_pi (MPC_RE (rop), MPC_RND_RE (rnd)); 113 inex_re = set_pi_over_2 (MPC_RE (rop), +1, MPC_RND_RE (rnd)); 117 return MPC_INEX (inex_re, 0); 149 inex_re [all...] |
H A D | log.c | 31 int inex_re, inex_im; local 67 inex_re = 0; /* -Inf is exact */ 70 inex_re = mpfr_log (MPC_RE (rop), MPC_RE (op), MPC_RND_RE (rnd)); 85 inex_re = mpfr_log (MPC_RE (rop), w, MPC_RND_RE (rnd)); 92 return MPC_INEX(inex_re, inex_im); 96 inex_re = mpfr_log (MPC_RE (rop), MPC_IM (op), MPC_RND_RE (rnd)); 104 inex_re = mpfr_log (MPC_RE (rop), w, MPC_RND_RE (rnd)); 111 return MPC_INEX(inex_re, inex_im); 149 inex_re = mpfr_div_2ui (MPC_RE(rop), w, 1ul, MPC_RND_RE (rnd)); 151 return MPC_INEX(inex_re, inex_i [all...] |
/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/tests/ |
H A D | tstrtoc.c | 47 int inex_re; local 82 read_ternary (fp, &inex_re); 85 if (inex_re == TERNARY_ERROR || inex_im == TERNARY_ERROR) 88 inex_expected = MPC_INEX (inex_re, inex_im); 108 if (inex != MPC_INEX (inex_re, inex_im)) 111 (inex_re == +1 ? "+1" : (inex_re == -1 ? "-1" : "0")),
|