Home
last modified time | relevance | path

Searched refs:MP_SIGN (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/polly/lib/External/isl/imath/
Dimath.c400 MP_SIGN(z) = MP_ZPOS; in mp_int_init_size()
424 MP_SIGN(z) = MP_SIGN(old); in mp_int_init_copy()
502 MP_SIGN(c) = MP_SIGN(a); in mp_int_copy()
529 MP_SIGN(z) = MP_ZPOS; in mp_int_zero()
541 MP_SIGN(c) = MP_ZPOS; in mp_int_abs()
555 MP_SIGN(c) = 1 - MP_SIGN(a); in mp_int_neg()
569 if (MP_SIGN(a) == MP_SIGN(b)) { in mp_int_add()
588 MP_SIGN(c) = MP_SIGN(a); in mp_int_add()
619 MP_SIGN(c) = MP_SIGN(x); in mp_int_add()
644 if (MP_SIGN(a) != MP_SIGN(b)) { in mp_int_sub()
[all …]
Dimrat.c179 return MP_SIGN(MP_NUMER_P(r)); in mp_rat_sign()
236 mp_sign tmp = MP_SIGN(MP_NUMER_P(c)); in mp_rat_recip()
238 MP_SIGN(MP_NUMER_P(c)) = MP_SIGN(MP_DENOM_P(c)); in mp_rat_recip()
239 MP_SIGN(MP_DENOM_P(c)) = tmp; in mp_rat_recip()
404 if (MP_SIGN(MP_NUMER_P(a)) != MP_SIGN(MP_NUMER_P(b))) { in mp_rat_compare()
405 if (MP_SIGN(MP_NUMER_P(a)) == MP_ZPOS) in mp_rat_compare()
415 if (MP_SIGN(MP_NUMER_P(a)) == MP_ZPOS) in mp_rat_compare()
606 if (MP_SIGN(MP_NUMER_P(r)) == MP_NEG && in mp_rat_to_decimal()
851 MP_SIGN(MP_NUMER_P(r)) = MP_ZPOS; in mp_rat_read_cdecimal()
855 MP_SIGN(MP_NUMER_P(r)) = osign; in mp_rat_read_cdecimal()
[all …]
Dimath.h67 #define MP_SIGN(Z) ((Z)->sign) macro
Dgmp_compat.c486 if (MP_SIGN(op) == MP_NEG) in GMPZAPI()