Searched refs:MP_SIGN (Results 1 – 4 of 4) sorted by relevance
400 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 …]
179 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 …]
67 #define MP_SIGN(Z) ((Z)->sign) macro
486 if (MP_SIGN(op) == MP_NEG) in GMPZAPI()