Lines Matching refs:MP_NEG
99 #define MP_NEG 1 /* negative */ macro
483 c->sign = (sa == MP_ZPOS) ? MP_NEG : MP_ZPOS; in mp_sub()
496 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG; in mp_mul()
596 if (P->sign == MP_NEG) { in mp_exptmod()
601 if (X->sign == MP_NEG) { in mp_exptmod()
690 if (a->sign == MP_NEG) { in mp_cmp()
698 if (a->sign == MP_NEG) { in mp_cmp()
711 if (a->sign == MP_NEG) { in mp_cmp_d()
736 if (b->sign == MP_NEG || mp_iszero(b) == 1) { in mp_invmod()
777 if (b->sign == MP_NEG || mp_iszero(b) == 1) { in mp_invmod_slow()
1662 n2 = (a->sign == b->sign ? MP_ZPOS : MP_NEG); in mp_div()
1736 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG; in mp_div()
1831 if (x.sign == MP_NEG) { in mp_div()