Lines Matching refs:n1_full_scale
1023 size_t n1_full_scale, size_t n2_full_scale, size_t *scale, bool auto_scale in bcmath_number_add_internal() argument
1026 *scale = MAX(n1_full_scale, n2_full_scale); in bcmath_number_add_internal()
1035 size_t n1_full_scale, size_t n2_full_scale, size_t *scale, bool auto_scale in bcmath_number_sub_internal() argument
1038 *scale = MAX(n1_full_scale, n2_full_scale); in bcmath_number_sub_internal()
1047 size_t n1_full_scale, size_t n2_full_scale, size_t *scale, bool auto_scale in bcmath_number_mul_internal() argument
1050 *scale = n1_full_scale + n2_full_scale; in bcmath_number_mul_internal()
1051 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(*scale, n1_full_scale))) { in bcmath_number_mul_internal()
1064 size_t n1_full_scale, size_t *scale, bool auto_scale in bcmath_number_div_internal() argument
1067 *scale = n1_full_scale + BC_MATH_NUMBER_EXPAND_SCALE; in bcmath_number_div_internal()
1068 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(*scale, n1_full_scale))) { in bcmath_number_div_internal()
1087 size_t n1_full_scale, size_t n2_full_scale, size_t *scale, bool auto_scale in bcmath_number_mod_internal() argument
1090 *scale = MAX(n1_full_scale, n2_full_scale); in bcmath_number_mod_internal()
1102 size_t n1_full_scale, size_t *scale, bool auto_scale, bool is_op in bcmath_number_pow_internal() argument
1118 *scale = n1_full_scale * exponent; in bcmath_number_pow_internal()
1119 if (UNEXPECTED(*scale > INT_MAX || *scale < n1_full_scale)) { in bcmath_number_pow_internal()
1124 *scale = n1_full_scale + BC_MATH_NUMBER_EXPAND_SCALE; in bcmath_number_pow_internal()
1125 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(*scale, n1_full_scale))) { in bcmath_number_pow_internal()
1241 size_t n1_full_scale; in bcmath_number_do_operation() local
1243 …if (UNEXPECTED(bc_num_from_obj_or_str_or_long(&n1, &n1_full_scale, obj1, str1, lval1) == FAILURE))… in bcmath_number_do_operation()
1252 if (UNEXPECTED(CHECK_SCALE_OVERFLOW(n1_full_scale) || CHECK_SCALE_OVERFLOW(n2_full_scale))) { 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()
1339 size_t n1_full_scale; in bcmath_number_compare() local
1341 if (UNEXPECTED(bc_num_from_obj_or_str_or_long(&n1, &n1_full_scale, obj1, str1, lval1) == FAILURE || in bcmath_number_compare()
1346 if (UNEXPECTED(CHECK_SCALE_OVERFLOW(n1_full_scale) || CHECK_SCALE_OVERFLOW(n2_full_scale))) { in bcmath_number_compare()