Lines Matching refs:n1
46 _bc_do_compare (n1, n2, use_sign, ignore_last) in _bc_do_compare() argument
47 bc_num n1, n2; in _bc_do_compare()
55 if (use_sign && n1->n_sign != n2->n_sign)
57 if (n1->n_sign == PLUS)
64 if (n1->n_len != n2->n_len)
66 if (n1->n_len > n2->n_len)
69 if (!use_sign || n1->n_sign == PLUS)
77 if (!use_sign || n1->n_sign == PLUS)
86 count = n1->n_len + MIN (n1->n_scale, n2->n_scale);
87 n1ptr = n1->n_value;
96 if (ignore_last && count == 1 && n1->n_scale == n2->n_scale)
103 if (!use_sign || n1->n_sign == PLUS)
111 if (!use_sign || n1->n_sign == PLUS)
119 if (n1->n_scale != n2->n_scale)
121 if (n1->n_scale > n2->n_scale)
123 for (count = n1->n_scale-n2->n_scale; count>0; count--)
127 if (!use_sign || n1->n_sign == PLUS)
135 for (count = n2->n_scale-n1->n_scale; count>0; count--)
139 if (!use_sign || n1->n_sign == PLUS)
155 bc_compare (n1, n2) in bc_compare() argument
156 bc_num n1, n2; in bc_compare()
158 return _bc_do_compare (n1, n2, TRUE, FALSE);