Searched refs:MP_ZPOS (Results 1 – 25 of 32) sorted by relevance
12
29 b->sign = (a->sign == MP_ZPOS) ? MP_NEG : MP_ZPOS; in mp_neg()31 b->sign = MP_ZPOS; in mp_neg()
74 n2 = (a->sign == b->sign ? MP_ZPOS : MP_NEG); in mp_div()77 c->sign = (mp_iszero(c) == MP_YES) ? MP_ZPOS : n2; in mp_div()81 d->sign = (mp_iszero(d) == MP_YES) ? MP_ZPOS : n; in mp_div()148 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG; in mp_div()149 x.sign = y.sign = MP_ZPOS; in mp_div()263 x.sign = x.used == 0 ? MP_ZPOS : a->sign; in mp_div()
35 a->sign = MP_ZPOS; in mp_add_d()53 c->sign = MP_ZPOS; in mp_add_d()62 if (a->sign == MP_ZPOS) { in mp_add_d()
47 c->sign = (sa == MP_ZPOS) ? MP_NEG : MP_ZPOS; in mp_sub()
22 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG; in mp_mul()59 c->sign = (c->used > 0) ? neg : MP_ZPOS; in mp_mul()
36 a->sign = MP_ZPOS; in mp_sub_d()65 c->sign = MP_ZPOS; in mp_sub_d()
42 u.sign = v.sign = MP_ZPOS; in mp_gcd()95 c->sign = MP_ZPOS; in mp_gcd()
26 b[0] = (unsigned char) ((a->sign == MP_ZPOS) ? 0 : 1); in mp_to_signed_bin()
37 a->sign = MP_ZPOS; in mp_clamp()
35 b->sign = MP_ZPOS; in mp_abs()
24 a->sign = MP_ZPOS; in mp_zero()
30 a->sign = MP_ZPOS; in mp_read_signed_bin()
40 a->sign = MP_ZPOS; in mp_clear()
38 a->sign = MP_ZPOS; in mp_init()
35 a->sign = MP_ZPOS; in mp_init_size()
51 b->sign = MP_ZPOS; in mp_sqr()
32 neg = MP_ZPOS; in mp_fread()
39 neg = MP_ZPOS; in mp_read_radix()
46 t.sign = MP_ZPOS; in mp_toradix()
57 t.sign = MP_ZPOS; in mp_radix_size()
207 a.sign = MP_ZPOS; in main()208 b.sign = MP_ZPOS; in main()221 a.sign = MP_ZPOS; in main()222 b.sign = MP_ZPOS; in main()252 b.sign = MP_ZPOS; in main()253 a.sign = MP_ZPOS; in main()
287 SIGN(mp) = MP_ZPOS; in mp_init_size()470 SIGN(mp) = MP_ZPOS; in mp_zero()546 if(SIGN(b) == MP_ZPOS) { in mp_add_d()551 SIGN(b) = MP_ZPOS; in mp_add_d()596 SIGN(b) = MP_ZPOS; in mp_sub_d()707 SIGN(q) = MP_ZPOS; in mp_div_d()717 SIGN(&qp) = MP_ZPOS; in mp_div_d()819 SIGN(b) = MP_ZPOS; in mp_abs()845 SIGN(b) = MP_ZPOS; in mp_neg()847 SIGN(b) = (SIGN(b) == MP_NEG) ? MP_ZPOS : MP_NEG; in mp_neg()[all …]
64 #define MP_ZPOS 0 /* positive integer */ macro341 a->sign = MP_ZPOS; in mp_init()365 a->sign = MP_ZPOS; in mp_clear()430 c->sign = (sa == MP_ZPOS) ? MP_NEG : MP_ZPOS; in mp_sub()443 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG; in mp_mul()481 c->sign = (c->used > 0) ? neg : MP_ZPOS; in mp_mul()1054 a->sign = MP_ZPOS; in mp_zero()1194 a->sign = MP_ZPOS; in mp_clamp()1252 b->sign = MP_ZPOS; in mp_abs()1589 n2 = (a->sign == b->sign ? MP_ZPOS : MP_NEG); in mp_div()[all …]
798 b->sign = MP_ZPOS; in mp_abs()902 a->sign = MP_ZPOS; in mp_add_d()920 c->sign = MP_ZPOS; in mp_add_d()929 if (a->sign == MP_ZPOS) { in mp_add_d()1126 a->sign = MP_ZPOS; in mp_clamp()1174 a->sign = MP_ZPOS; in mp_clear()1629 n2 = (a->sign == b->sign ? MP_ZPOS : MP_NEG); in mp_div()1632 c->sign = (mp_iszero(c) == MP_YES) ? MP_ZPOS : n2; in mp_div()1636 d->sign = (mp_iszero(d) == MP_YES) ? MP_ZPOS : n; in mp_div()1703 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG; in mp_div()[all …]
87 #define MP_ZPOS 0 /* positive integer */ macro381 a->sign = MP_ZPOS; in mp_init()405 a->sign = MP_ZPOS; in mp_clear()470 c->sign = (sa == MP_ZPOS) ? MP_NEG : MP_ZPOS; in mp_sub()483 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG; in mp_mul()521 c->sign = (c->used > 0) ? neg : MP_ZPOS; in mp_mul()1102 a->sign = MP_ZPOS; in mp_zero()1242 a->sign = MP_ZPOS; in mp_clamp()1301 b->sign = MP_ZPOS; in mp_abs()1647 n2 = (a->sign == b->sign ? MP_ZPOS : MP_NEG); in mp_div()[all …]