Lines Matching refs:n2
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()
52 if ((n1->n_scale > scale || n2->n_scale > scale) && in _bc_do_compare()
53 n1->n_len == 1 && n2->n_len == 1 && in _bc_do_compare()
54 n1->n_value[0] == 0 && n2->n_value[0] == 0 && in _bc_do_compare()
55 bc_is_zero_for_scale(n1, scale) && bc_is_zero_for_scale(n2, scale) in _bc_do_compare()
70 if (n1->n_len != n2->n_len) { in _bc_do_compare()
71 if (n1->n_len > n2->n_len) { in _bc_do_compare()
89 size_t n2_scale = MIN(n2->n_scale, scale); in _bc_do_compare()
95 n2ptr = n2->n_value; in _bc_do_compare()
154 bcmath_compare_result bc_compare(bc_num n1, bc_num n2, size_t scale) in bc_compare() argument
156 return _bc_do_compare(n1, n2, scale, true); in bc_compare()