HomeSort by: relevance | last modified time | path
    Searched refs:inex (Results 1 - 25 of 196) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/external/lgpl3/mpc/dist/src/
set_str.c 28 int inex; local
30 inex = mpc_strtoc (z, str, &p, base, rnd);
32 if (inex != -1){
36 return inex;
ui_div.c 27 int inex; local
32 inex = mpc_div (a, bb, c, rnd);
35 return inex;
acosh.c 34 int inex; local
48 inex = mpc_acos (a, op,
56 inex = MPC_INEX (MPC_INEX_IM (inex), -MPC_INEX_RE (inex));
60 inex = mpc_acos (a, op,
68 inex = MPC_INEX (-MPC_INEX_IM (inex), MPC_INEX_RE (inex));
75 return inex;
    [all...]
pow_d.c 29 int inex; local
34 inex = mpc_pow (z, x, yy, rnd);
36 return inex;
pow_fr.c 27 int inex; local
33 inex = mpc_pow (z, x, yy, rnd);
35 return inex;
pow_ld.c 29 int inex; local
34 inex = mpc_pow (z, x, yy, rnd);
36 return inex;
sinh.c 29 int inex; local
39 inex = mpc_sin (sin_z, z, MPC_RND (MPC_RND_IM (rnd), MPC_RND_RE (rnd)));
46 return MPC_INEX (MPC_INEX_IM (inex), MPC_INEX_RE (inex));
tanh.c 29 int inex; local
39 inex = mpc_tan (tan_z, z, MPC_RND (MPC_RND_IM (rnd), MPC_RND_RE (rnd)));
46 return MPC_INEX (MPC_INEX_IM (inex), MPC_INEX_RE (inex));
pow_z.c 27 int inex; local
43 inex = mpc_pow (z, x, yy, rnd);
45 return inex;
  /src/external/lgpl3/mpfr/dist/tests/
tlog2.c 33 int inex, r; local
40 inex = mpfr_log2 (x, x, (mpfr_rnd_t) r);
41 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
44 inex = mpfr_log2 (x, x, (mpfr_rnd_t) r);
45 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
48 inex = mpfr_log2 (x, x, (mpfr_rnd_t) r);
49 MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) > 0 && inex == 0);
52 inex = mpfr_log2 (x, x, (mpfr_rnd_t) r);
53 MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) < 0 && inex == 0);
56 inex = mpfr_log2 (x, x, (mpfr_rnd_t) r)
    [all...]
tlog10p1.c 33 int inex; local
39 inex = mpfr_log10p1 (x, x, MPFR_RNDN);
40 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
45 inex = mpfr_log10p1 (x, x, MPFR_RNDN);
46 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
51 inex = mpfr_log10p1 (x, x, MPFR_RNDN);
52 MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) > 0 && inex == 0);
57 inex = mpfr_log10p1 (x, x, MPFR_RNDN);
58 MPFR_ASSERTN (mpfr_cmp_ui (x, 0) == 0 && MPFR_IS_POS (x) && inex == 0);
62 inex = mpfr_log10p1 (x, x, MPFR_RNDN)
94 int inex, r; local
    [all...]
trndna.c 29 int inex; local
35 inex = mpfr_round_nearest_away (mpfr_sin, y, x);
36 if (inex != 0)
48 inex = mpfr_round_nearest_away (mpfr_exp, y, x);
49 if (inex != 0)
52 printf ("expected 0, got %d\n", inex);
62 inex = mpfr_round_nearest_away (mpfr_cbrt, y, x);
63 if (inex != 0)
82 int inex; local
89 inex = mpfr_round_nearest_away (mpfr_sin, y, x)
    [all...]
tlog2p1.c 33 int inex; local
39 inex = mpfr_log2p1 (x, x, MPFR_RNDN);
40 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
45 inex = mpfr_log2p1 (x, x, MPFR_RNDN);
46 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
51 inex = mpfr_log2p1 (x, x, MPFR_RNDN);
52 MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) > 0 && inex == 0);
57 inex = mpfr_log2p1 (x, x, MPFR_RNDN);
58 MPFR_ASSERTN (mpfr_cmp_ui (x, 0) == 0 && MPFR_IS_POS (x) && inex == 0);
62 inex = mpfr_log2p1 (x, x, MPFR_RNDN)
94 int inex, r; local
    [all...]
tcbrt.c 29 int inex; local
36 inex = mpfr_cbrt (y, x, MPFR_RNDN);
42 if (inex != 0)
44 printf ("Error: cbrt(NaN): incorrect ternary value %d\n", inex);
50 inex = mpfr_cbrt (y, x, MPFR_RNDN);
56 if (inex != 0)
58 printf ("Error: cbrt(+Inf): incorrect ternary value %d\n", inex);
64 inex = mpfr_cbrt (y, x, MPFR_RNDN);
70 if (inex != 0)
72 printf ("Error: cbrt(-Inf): incorrect ternary value %d\n", inex);
184 int r, inex; local
    [all...]
tlog1p.c 56 int inex; local
62 inex = test_log1p (x, x, MPFR_RNDN);
63 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
68 inex = test_log1p (x, x, MPFR_RNDN);
69 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
74 inex = test_log1p (x, x, MPFR_RNDN);
75 MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) > 0 && inex == 0);
80 inex = test_log1p (x, x, MPFR_RNDN);
81 MPFR_ASSERTN (mpfr_cmp_ui (x, 0) == 0 && MPFR_IS_POS (x) && inex == 0);
85 inex = test_log1p (x, x, MPFR_RNDN)
    [all...]
tget_f.c 58 int inex; local
62 inex = mpfr_add (y1, y1, y2, MPFR_RNDN);
63 MPFR_ASSERTN (inex == 0);
67 inex = mpfr_get_f (x3, y3, MPFR_RNDN);
79 if (inex != 0)
84 inex);
103 int inex; local
121 inex = mpfr_get_f (x, y, MPFR_RNDN);
122 if (inex >= 0)
136 inex = mpfr_get_f (x, y, MPFR_RNDN)
173 int inex, expected_inex; local
273 int inex; local
    [all...]
texpm1.c 57 int inex; local
105 inex = test_expm1 (x, x, MPFR_RNDN);
108 MPFR_ASSERTN (inex > 0);
112 inex = test_expm1 (x, x, MPFR_RNDU);
115 MPFR_ASSERTN (inex > 0);
119 inex = test_expm1 (x, x, MPFR_RNDD);
122 MPFR_ASSERTN (inex < 0);
128 inex = test_expm1 (x, x, MPFR_RNDN);
131 MPFR_ASSERTN (inex < 0);
134 inex = test_expm1 (x, x, MPFR_RNDD)
    [all...]
  /src/external/lgpl3/mpc/dist/tests/
tnorm.c 29 int inex; local
37 inex = mpc_norm (f, z, MPFR_RNDZ); /* should give 511/1024 */
38 if (inex >= 0)
41 printf ("expected inex < 0, got %d\n", inex);
55 inex = mpc_norm (f, z, MPFR_RNDN); /* should give 511/1024 */
56 if (inex >= 0)
59 printf ("expected inex < 0, got %d\n", inex);
73 inex = mpc_norm (f, z, MPFR_RNDU); /* should give 1023/2048 *
    [all...]
tsum.c 28 int i, inex; local
37 inex = mpc_sum (res, t, 0, MPC_RNDNN);
38 MPC_ASSERT (inex == 0);
41 inex = mpc_sum (res, t, 1, MPC_RNDNN);
42 MPC_ASSERT (inex == 0);
45 inex = mpc_sum (res, t, 2, MPC_RNDNN);
46 MPC_ASSERT (inex == 0);
49 inex = mpc_sum (res, t, 3, MPC_RNDNN);
50 MPC_ASSERT (inex == 0);
tdot.c 28 int i, inex; local
39 inex = mpc_dot (res, t, t, 0, MPC_RNDNN);
40 MPC_ASSERT (inex == 0);
46 inex = mpc_dot (res, t, t, 1, MPC_RNDNN);
47 MPC_ASSERT (inex == 0);
53 inex = mpc_dot (res, t, t, 2, MPC_RNDNN);
54 MPC_ASSERT (inex == 0);
60 inex = mpc_dot (res, t, t, 3, MPC_RNDNN);
61 MPC_ASSERT (inex == 0);
  /src/external/lgpl3/mpfr/dist/src/
set_sj.c 41 int inex; local
42 inex = mpfr_set_uj_2exp (x, - (uintmax_t) j, e, MPFR_INVERT_RND (rnd));
44 return -inex;
get_z.c 29 int inex; local
52 inex = mpfr_rint (r, f, rnd);
53 MPFR_ASSERTN (inex != 1 && inex != -1); /* integral part of f is
70 return inex;
fmod_ui.c 29 int inex; local
35 mpfr_get_prec(r), mpfr_log_prec, r, inex));
52 inex = mpfr_fmod (r, x, uu, rnd_mode);
60 inex = mpfr_fmod (r, x, uu, rnd_mode);
64 inex = mpfr_check_range (r, inex, rnd_mode);
65 return inex;
frexp.c 28 int inex; local
34 ("y[%Pd]=%.*Rg exp=%" MPFR_EXP_FSPEC "d inex=%d", mpfr_get_prec (y),
35 mpfr_log_prec, y, (mpfr_eexp_t) *exp, inex));
59 MPFR_BLOCK (flags, inex = mpfr_set (y, x, rnd));
77 MPFR_LOG_MSG (("inex=%d inex2=%d\n", inex, inex2));
79 inex = inex2;
80 MPFR_RET (inex);
86 return mpfr_check_range (y, inex, rnd);
sqrt_ui.c 29 int inex; local
34 mpfr_get_prec(r), mpfr_log_prec, r, inex));
51 inex = mpfr_sqrt (r, uu, rnd_mode);
59 inex = mpfr_sqrt (r, uu, rnd_mode);
63 inex = mpfr_check_range (r, inex, rnd_mode);
64 return inex;

Completed in 23 milliseconds

1 2 3 4 5 6 7 8