Searched refs:MP_NEG (Results 1 – 3 of 3) sorted by relevance
99 #define MP_NEG 1 /* negative */ macro483 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()[all …]
1053 bigValue.sign = neg ? MP_NEG : MP_ZPOS; in asBignumObj()1254 if (res != NULL && bigValue.sign == MP_NEG) { in fromBignumObj()
1076 bigValue.sign = neg ? MP_NEG : MP_ZPOS; in asBignumObj()1283 if (res != NULL && bigValue.sign == MP_NEG) { in fromBignumObj()