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

1 2 3 4 5

  /src/external/lgpl3/mpfr/dist/src/
total_order.c 29 if (MPFR_SIGN (x) != MPFR_SIGN (y))
swap.c 40 s1 = MPFR_SIGN(u);
41 s2 = MPFR_SIGN(v);
42 MPFR_SIGN(v) = s1;
43 MPFR_SIGN(u) = s2;
cmp.c 38 s = MPFR_MULT_SIGN(s, MPFR_SIGN(c));
49 if (MPFR_IS_INF(c) && s == MPFR_SIGN(b) )
52 return MPFR_SIGN(b);
59 return MPFR_SIGN(b);
62 if (s != MPFR_SIGN(b))
63 return MPFR_SIGN(b);
fma.c 48 ((MPFR_MULT_SIGN(MPFR_SIGN(x), MPFR_SIGN(y))) != MPFR_SIGN(z))))
62 MPFR_SET_SIGN(s, MPFR_MULT_SIGN(MPFR_SIGN(x), MPFR_SIGN(y)));
78 sign_p = MPFR_MULT_SIGN(MPFR_SIGN(x), MPFR_SIGN(y));
149 MPFR_SIGN(u) = MPFR_MULT_SIGN(MPFR_SIGN(x), MPFR_SIGN(y))
    [all...]
powr.c 42 if (MPFR_IS_ZERO(x) && MPFR_SIGN(x) < 0 && !MPFR_IS_SINGULAR (y)
51 if (MPFR_IS_ZERO(x) && MPFR_SIGN(x) < 0 && !MPFR_IS_SINGULAR (y)
copysign.c 38 return mpfr_set4 (z, x, rnd_mode, MPFR_SIGN (y));
fms.c 36 MPFR_ALIAS (minus_z, z, -MPFR_SIGN(z), MPFR_EXP(z));
neg.c 29 return mpfr_set4 (a, b, rnd_mode, -MPFR_SIGN(b));
add.c 44 if (!MPFR_IS_INF(c) || MPFR_SIGN(b) == MPFR_SIGN(c))
91 if (MPFR_SIGN(b) != MPFR_SIGN(c))
103 if (MPFR_UNLIKELY(MPFR_SIGN(b) != MPFR_SIGN(c)))
sub.c 43 if (!MPFR_IS_INF (c) || MPFR_SIGN (b) != MPFR_SIGN(c))
85 if (MPFR_SIGN(b) == MPFR_SIGN(c))
103 if (MPFR_LIKELY (MPFR_SIGN (b) == MPFR_SIGN (c)))
check.c 43 if (MPFR_SIGN(x) != MPFR_SIGN_POS &&
44 MPFR_SIGN(x) != MPFR_SIGN_NEG)
atan2u.c 107 if (MPFR_SIGN(x) > 0)
111 if (MPFR_SIGN(y) < 0)
135 (rnd_mode == MPFR_RNDN) ? MPFR_RNDZ : rnd_mode, MPFR_SIGN(y));
141 return mpfr_atan2u_aux3 (z, u, MPFR_SIGN(y), rnd_mode);
200 return mpfr_atan2u_aux2 (z, u, -3, MPFR_SIGN (y), rnd_mode);
206 return mpfr_atan2u_aux1 (z, u, -3, MPFR_SIGN (y), rnd_mode);
215 return mpfr_atan2u_aux1 (z, u, -1, MPFR_SIGN (y), rnd_mode);
229 return mpfr_atan2u_aux1 (z, u, -2, MPFR_SIGN(y), rnd_mode);
236 return mpfr_atan2u_aux1 (z, u, -1, MPFR_SIGN(y), rnd_mode);
251 return mpfr_atan2u_aux1 (z, u, -2, MPFR_SIGN(y), rnd_mode)
    [all...]
eq.c 41 return (MPFR_SIGN(u) == MPFR_SIGN(v));
49 if (MPFR_SIGN(u) != MPFR_SIGN(v))
coth.c 45 mpfr_sub_si (z, z, MPFR_SIGN (z), MPFR_RNDN); \
48 mpfr_add_si (z, z, MPFR_SIGN (z), MPFR_RNDN); \
68 int signx = MPFR_SIGN(x); \
set.c 77 return mpfr_set4 (a, b, rnd_mode, MPFR_SIGN (b));
154 inex2 = inex * MPFR_SIGN(u);
155 MPFR_SIGN(s) = MPFR_SIGN(u);
196 MPFR_RET(-MPFR_SIGN(s));
208 return mpfr_overflow (s, rnd_mode, MPFR_SIGN(s));
210 MPFR_RET(MPFR_SIGN(s));
mul.c 54 sign_product = MPFR_MULT_SIGN(MPFR_SIGN(b), MPFR_SIGN(c));
91 sign_product = MPFR_MULT_SIGN(MPFR_SIGN(b), MPFR_SIGN(c));
297 MPFR_SIGN(a) = MPFR_MULT_SIGN (MPFR_SIGN (b), MPFR_SIGN (c));
301 return mpfr_overflow (a, rnd_mode, MPFR_SIGN(a));
320 return mpfr_underflow (a, rnd_mode, MPFR_SIGN(a));
342 MPFR_RET(-MPFR_SIGN(a))
    [all...]
mul_2ui.c 45 return mpfr_overflow (y, rnd_mode, MPFR_SIGN (y));
div_2si.c 51 return mpfr_underflow (y, rnd_mode, MPFR_SIGN(y));
55 return mpfr_overflow (y, rnd_mode, MPFR_SIGN(y));
mul_2si.c 44 return mpfr_overflow (y, rnd_mode, MPFR_SIGN(y));
54 return mpfr_underflow (y, rnd_mode, MPFR_SIGN(y));
sinh.c 110 inexact = mpfr_overflow (y, rnd_mode, MPFR_SIGN (xt));
123 inexact = mpfr_overflow (y, rnd_mode, MPFR_SIGN (xt));
132 inexact = mpfr_overflow (y, rnd_mode, MPFR_SIGN (xt));
142 inexact = mpfr_set4 (y, t, rnd_mode, MPFR_SIGN (xt));
167 inexact = mpfr_set4 (y, t, rnd_mode, MPFR_SIGN (xt));
pow_z.c 110 MPFR_SIGN (x) : MPFR_SIGN_POS);
128 MPFR_ASSERTD (mpfr_cmp_si_2exp (x, MPFR_SIGN (x),
144 MPFR_SIGN (x) : MPFR_SIGN_POS);
229 if (MPFR_UNLIKELY (mpfr_cmp_si_2exp (x, MPFR_SIGN (x),
250 inexact = mpfr_underflow (y, rnd, MPFR_SIGN (y));
255 inexact = mpfr_overflow (y, rnd, MPFR_SIGN (y));
320 mpz_odd_p (z) ? MPFR_SIGN (x) :
336 MPFR_ASSERTD (mpfr_cmp_si_2exp (x, MPFR_SIGN (x),
354 MPFR_SIGN (x) : MPFR_SIGN_POS);
div.c 178 MPFR_SIGN(q) = MPFR_MULT_SIGN (MPFR_SIGN (u), MPFR_SIGN (v));
182 return mpfr_overflow (q, rnd_mode, MPFR_SIGN(q));
204 return mpfr_underflow (q, rnd_mode, MPFR_SIGN(q));
230 MPFR_RET(-MPFR_SIGN(q));
250 MPFR_RET(MPFR_SIGN(q));
326 MPFR_SIGN(q) = MPFR_MULT_SIGN (MPFR_SIGN (u), MPFR_SIGN (v))
    [all...]
csc.c 51 int signx = MPFR_SIGN(x); \
  /src/external/lgpl3/mpfr/dist/tests/
tfpif.c 120 MPFR_SET_SIGN (y, - MPFR_SIGN (x[i]));
132 if (MPFR_SIGN (x[i]) != MPFR_SIGN (y))
136 printf ("expected %d\n", (int) MPFR_SIGN (x[i]));
137 printf ("got %d\n", (int) MPFR_SIGN (y));
173 MPFR_SET_SIGN (y, - MPFR_SIGN (x[i]));
186 if (MPFR_SIGN (x[i]) != MPFR_SIGN (y))
190 printf ("expected %d\n", (int) MPFR_SIGN (x[i]));
191 printf ("got %d\n", (int) MPFR_SIGN (y))
    [all...]
tfrac.c 40 if (MPFR_SIGN (ip) != MPFR_SIGN (fp))
50 if (MPFR_SIGN (sum) != MPFR_SIGN (fp))
66 MPFR_SIGN (dst) != MPFR_SIGN (fp2) ||
89 MPFR_SIGN (sum) != MPFR_SIGN (fp) ||

Completed in 25 milliseconds

1 2 3 4 5