HomeSort by: relevance | last modified time | path
    Searched defs:inexact (Results 1 - 25 of 161) sorted by relevancy

1 2 3 4 5 6 7

  /src/external/lgpl3/mpc/dist/src/
fr_div.c 27 int inexact; local
34 inexact = mpc_div (a, bc, c, rnd);
38 return inexact;
  /src/external/lgpl3/mpfr/dist/src/
add_d.c 29 int inexact; local
37 ("a[%Pd]=%.*Rg inexact=%d",
38 mpfr_get_prec (a), mpfr_log_prec, a, inexact));
43 inexact = mpfr_set_d (d, c, rnd_mode);
44 MPFR_ASSERTD (inexact == 0);
47 inexact = mpfr_add (a, b, d, rnd_mode);
51 return mpfr_check_range (a, inexact, rnd_mode);
d_div.c 29 int inexact; local
41 inexact = mpfr_set_d (d, b, rnd_mode);
42 MPFR_ASSERTD (inexact == 0);
45 inexact = mpfr_div (a, d, c, rnd_mode);
49 return mpfr_check_range (a, inexact, rnd_mode);
d_sub.c 29 int inexact; local
41 inexact = mpfr_set_d (d, b, rnd_mode);
42 MPFR_ASSERTD (inexact == 0);
45 inexact = mpfr_sub (a, d, c, rnd_mode);
49 return mpfr_check_range (a, inexact, rnd_mode);
div_2si.c 28 int inexact; local
33 ("y[%Pd]=%.*Rg inexact=%d",
34 mpfr_get_prec(y), mpfr_log_prec, y, inexact));
41 MPFR_SETRAW (inexact, y, x, exp, rnd_mode);
48 ((MPFR_IS_NEG (y) ? inexact <= 0 : inexact >= 0) &&
60 MPFR_RET (inexact);
div_2ui.c 28 int inexact; local
33 ("y[%Pd]=%.*Rg inexact=%d", mpfr_get_prec(y), mpfr_log_prec, y, inexact));
42 MPFR_SETRAW (inexact, y, x, exp, rnd_mode);
52 ((MPFR_IS_NEG (y) ? inexact <= 0 : inexact >= 0) &&
68 MPFR_RET (inexact);
div_d.c 29 int inexact; local
42 inexact = mpfr_set_d (d, c, rnd_mode);
43 MPFR_ASSERTD (inexact == 0);
46 inexact = mpfr_div (a, b, d, rnd_mode);
50 return mpfr_check_range (a, inexact, rnd_mode);
mul_2si.c 28 int inexact; local
33 ("y[%Pd]=%.*Rg inexact=%d",
34 mpfr_get_prec (y), mpfr_log_prec, y, inexact));
41 MPFR_SETRAW (inexact, y, x, exp, rnd_mode);
51 ((MPFR_IS_NEG (y) ? inexact <= 0 : inexact >= 0) &&
59 MPFR_RET (inexact);
mul_2ui.c 28 int inexact; local
33 ("y[%Pd]=%.*Rg inexact=%d",
34 mpfr_get_prec (y), mpfr_log_prec, y, inexact));
36 inexact = (y != x) ? mpfr_set (y, x, rnd_mode) : 0;
51 return inexact;
mul_d.c 29 int inexact; local
37 ("a[%Pd]=%.*Rg inexact=%d",
38 mpfr_get_prec (a), mpfr_log_prec, a, inexact));
43 inexact = mpfr_set_d (d, c, rnd_mode);
44 MPFR_ASSERTD (inexact == 0);
47 inexact = mpfr_mul (a, b, d, rnd_mode);
51 return mpfr_check_range (a, inexact, rnd_mode);
round_near_x.c 53 i = [ y = o(x)] // i = inexact flag
129 we can round but we can't compute inexact flag.
133 we can round and compute inexact flag. do nothing
159 int inexact, sign; local
184 MPFR_RNDRAW_GEN (inexact, y, MPFR_MANT (v), MPFR_PREC (v), rnd, sign,
187 inexact = -sign;
198 /* If inexact == 0, setting y from v is exact but we haven't
200 if (inexact == 0)
204 inexact = sign;
210 inexact = -sign
    [all...]
sub.c 89 int inexact; local
91 inexact = mpfr_add1 (a, c, b, rnd_mode);
93 return -inexact;
115 int inexact; local
119 inexact = mpfr_add1sp (a, c, b, rnd_mode);
121 inexact = mpfr_add1 (a, c, b, rnd_mode);
123 return -inexact;
sub_d.c 29 int inexact; local
42 inexact = mpfr_set_d (d, c, rnd_mode);
43 MPFR_ASSERTD (inexact == 0);
46 inexact = mpfr_sub (a, b, d, rnd_mode);
50 return mpfr_check_range (a, inexact, rnd_mode);
ui_pow.c 29 int inexact; local
35 inexact = mpfr_set_ui (t, n, MPFR_RNDN);
36 MPFR_ASSERTD (inexact == 0);
37 inexact = mpfr_pow (y, t, x, rnd_mode);
40 return mpfr_check_range (y, inexact, rnd_mode);
asin.c 29 int compared, inexact; local
37 ("asin[%Pd]=%.*Rg inexact=%d", mpfr_get_prec (asin), mpfr_log_prec, asin,
38 inexact));
63 inexact = mpfr_abs (xp, x, MPFR_RNDN);
64 MPFR_ASSERTD (inexact == 0);
82 inexact = mpfr_const_pi (asin, rnd_mode);
85 inexact = -mpfr_const_pi (asin, MPFR_INVERT_RND(rnd_mode));
118 inexact = mpfr_set (asin, xp, rnd_mode);
124 return mpfr_check_range (asin, inexact, rnd_mode);
cache.c 61 int inexact, sign; local
103 cache->inexact = (*cache->func) (cache->x, MPFR_RNDN);
117 x and x+ulp(x) if cache->inexact < 0,
118 x-ulp(x) and x if cache->inexact > 0,
130 MPFR_RNDRAW_GEN (inexact, dest,
132 if (MPFR_UNLIKELY (cache->inexact == 0))
136 inexact = -sign;
142 else if (cache->inexact < 0)
144 else /* cache->inexact > 0 */
146 inexact = -sign
    [all...]
mul_ui.c 30 int inexact; local
109 MPFR_RNDRAW (inexact, y, yp, (mpfr_prec_t) (xn + 1) * GMP_NUMB_BITS,
121 MPFR_RET (inexact);
132 inexact = mpfr_mul (y, x, uu, rnd_mode);
136 return mpfr_check_range (y, inexact, rnd_mode);
tan.c 31 int inexact; local
39 ("y[%Pd]=%.*Rg inexact=%d",
40 mpfr_get_prec (y), mpfr_log_prec, y, inexact));
84 inexact = mpfr_set (y, c, rnd_mode);
88 return mpfr_check_range (y, inexact, rnd_mode);
acos.c 32 int sign, compared, inexact; local
38 ("acos[%Pd]=%.*Rg inexact=%d",
39 mpfr_get_prec(acos), mpfr_log_prec, acos, inexact));
54 inexact = mpfr_const_pi (acos, rnd_mode);
57 return mpfr_check_range (acos, inexact, rnd_mode);
140 inexact = mpfr_set (acos, arcc, rnd_mode);
145 return mpfr_check_range (acos, inexact, rnd_mode);
acosu.c 34 int compared, inexact; local
41 ("y[%Pd]=%.*Rg inexact=%d", mpfr_get_prec (y), mpfr_log_prec, y,
42 inexact));
108 inexact = mpfr_set_ui (tmp, u, MPFR_RNDN); /* exact since prec >= 64 */
109 MPFR_ASSERTD(inexact == 0);
120 inexact = mpfr_div_2ui (y, tmp, 2, rnd_mode);
156 inexact = mpfr_set (y, tmp, rnd_mode);
162 return mpfr_check_range (y, inexact, rnd_mode);
asinh.c 32 int inexact; local
42 ("y[%Pd]=%.*Rg inexact=%d", mpfr_get_prec (y), mpfr_log_prec, y,
43 inexact));
113 inexact = mpfr_set4 (y, t, rnd_mode, signx);
118 return mpfr_check_range (y, inexact, rnd_mode);
asinu.c 33 int compared, inexact; local
40 ("y[%Pd]=%.*Rg inexact=%d", mpfr_get_prec (y), mpfr_log_prec, y,
41 inexact));
86 inexact = mpfr_set_ui_2exp (y, u, -2, MPFR_INVERT_RND(rnd_mode));
88 return -inexact;
152 inexact = mpfr_set (y, tmp, rnd_mode);
157 return mpfr_check_range (y, inexact, rnd_mode);
cosh.c 33 int inexact; local
38 ("y[%Pd]=%.*Rg inexact=%d", mpfr_get_prec (y), mpfr_log_prec, y,
39 inexact));
67 1, rnd_mode, inexact = _inexact; goto end);
100 inexact = mpfr_overflow (y, rnd_mode, MPFR_SIGN_POS);
113 inexact = mpfr_set (y, t, rnd_mode);
127 return mpfr_check_range (y, inexact, rnd_mode);
expm1.c 33 int inexact; local
39 ("y[%Pd]=%.*Rg inexact=%d", mpfr_get_prec (y), mpfr_log_prec, y,
40 inexact));
138 inexact = mpfr_overflow (y, rnd_mode, MPFR_SIGN_POS);
157 inexact = mpfr_set (y, t, rnd_mode);
171 return mpfr_check_range (y, inexact, rnd_mode);
factorial.c 38 int round, inexact; local
67 inexact = mpfr_set_ui (t, 1, rnd);
71 /* assume the first inexact product gives the sign
73 if (inexact == 0)
74 inexact = round;
79 round = !inexact || MPFR_CAN_ROUND (t, err, Ny, rnd_mode);
83 /* If inexact = 0, then t is exactly x!, so round is the
84 correct inexact flag.
87 if (inexact == 0)
89 inexact = round
    [all...]

Completed in 39 milliseconds

1 2 3 4 5 6 7