Lines Matching refs:n2
1022 bc_num n1, bc_num n2, bc_num *ret, in bcmath_number_add_internal() argument
1028 *ret = bc_add(n1, n2, *scale); in bcmath_number_add_internal()
1034 bc_num n1, bc_num n2, bc_num *ret, in bcmath_number_sub_internal() argument
1040 *ret = bc_sub(n1, n2, *scale); in bcmath_number_sub_internal()
1046 bc_num n1, bc_num n2, bc_num *ret, in bcmath_number_mul_internal() argument
1056 *ret = bc_multiply(n1, n2, *scale); in bcmath_number_mul_internal()
1063 bc_num n1, bc_num n2, bc_num *ret, in bcmath_number_div_internal() argument
1073 if (!bc_divide(n1, n2, ret, *scale)) { in bcmath_number_div_internal()
1086 bc_num n1, bc_num n2, bc_num *ret, in bcmath_number_mod_internal() argument
1092 if (!bc_modulo(n1, n2, ret, *scale)) { in bcmath_number_mod_internal()
1101 bc_num n1, bc_num n2, bc_num *ret, in bcmath_number_pow_internal() argument
1105 if (UNEXPECTED(n2->n_scale != 0)) { in bcmath_number_pow_internal()
1113 long exponent = bc_num2long(n2); in bcmath_number_pow_internal()
1139 if (UNEXPECTED(exponent == 0 && (n2->n_len > 1 || n2->n_value[0] != 0))) { in bcmath_number_pow_internal()
1240 bc_num n2 = NULL; in bcmath_number_do_operation() local
1247 …if (UNEXPECTED(bc_num_from_obj_or_str_or_long(&n2, &n2_full_scale, obj2, str2, lval2) == FAILURE))… in bcmath_number_do_operation()
1261 bcmath_number_add_internal(n1, n2, &ret, n1_full_scale, n2_full_scale, &scale, true); in bcmath_number_do_operation()
1264 bcmath_number_sub_internal(n1, n2, &ret, n1_full_scale, n2_full_scale, &scale, true); in bcmath_number_do_operation()
1267 …if (UNEXPECTED(bcmath_number_mul_internal(n1, n2, &ret, n1_full_scale, n2_full_scale, &scale, true… in bcmath_number_do_operation()
1272 …if (UNEXPECTED(bcmath_number_div_internal(n1, n2, &ret, n1_full_scale, &scale, true) == FAILURE)) { in bcmath_number_do_operation()
1277 …if (UNEXPECTED(bcmath_number_mod_internal(n1, n2, &ret, n1_full_scale, n2_full_scale, &scale, true… in bcmath_number_do_operation()
1282 …if (UNEXPECTED(bcmath_number_pow_internal(n1, n2, &ret, n1_full_scale, &scale, true, true) == FAIL… in bcmath_number_do_operation()
1293 bc_free_num(&n2); in bcmath_number_do_operation()
1311 bc_free_num(&n2); in bcmath_number_do_operation()
1327 bc_num n2 = NULL; in bcmath_number_compare() local
1342 bc_num_from_obj_or_str_or_long(&n2, &n2_full_scale, obj2, str2, lval2) == FAILURE)) { in bcmath_number_compare()
1351 ret = bc_compare(n1, n2, MAX(n1->n_scale, n2->n_scale)); in bcmath_number_compare()
1358 bc_free_num(&n2); in bcmath_number_compare()