Lines Matching refs:n1
42 bcmath_compare_result _bc_do_compare(bc_num n1, bc_num n2, size_t scale, bool use_sign) in _bc_do_compare() argument
47 if (use_sign && n1->n_sign != n2->n_sign) { in _bc_do_compare()
48 if (n1->n_sign == PLUS) { in _bc_do_compare()
58 if (n1->n_len != n2->n_len) { in _bc_do_compare()
59 if (n1->n_len > n2->n_len) { in _bc_do_compare()
61 if (!use_sign || n1->n_sign == PLUS) { in _bc_do_compare()
68 if (!use_sign || n1->n_sign == PLUS) { in _bc_do_compare()
76 size_t n1_scale = MIN(n1->n_scale, scale); in _bc_do_compare()
81 size_t count = n1->n_len + MIN (n1_scale, n2_scale); in _bc_do_compare()
82 n1ptr = n1->n_value; in _bc_do_compare()
94 if (!use_sign || n1->n_sign == PLUS) { in _bc_do_compare()
101 if (!use_sign || n1->n_sign == PLUS) { in _bc_do_compare()
115 if (!use_sign || n1->n_sign == PLUS) { in _bc_do_compare()
126 if (!use_sign || n1->n_sign == PLUS) { in _bc_do_compare()
142 bcmath_compare_result bc_compare(bc_num n1, bc_num n2, size_t scale) in bc_compare() argument
144 return _bc_do_compare(n1, n2, scale, true); in bc_compare()