Home | History | Annotate | Download | only in libtommath

Lines Matching full:sign

73   n  = a->sign;
74 n2 = (a->sign == b->sign ? MP_ZPOS : MP_NEG);
77 c->sign = (mp_iszero(c) == MP_YES) ? MP_ZPOS : n2;
81 d->sign = (mp_iszero(d) == MP_YES) ? MP_ZPOS : n;
147 /* fix the sign */
148 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG;
149 x.sign = y.sign = MP_ZPOS;
243 if (x.sign == MP_NEG) {
262 /* get sign before writing to c */
263 x.sign = x.used == 0 ? MP_ZPOS : a->sign;
268 c->sign = neg;