Home
last modified time | relevance | path

Searched refs:BC_VECTOR_SIZE (Results 1 – 4 of 4) sorted by relevance

/PHP-8.4/ext/bcmath/libbcmath/src/
H A Drecmul.c112 #if BC_VECTOR_SIZE == 4 in bc_mul_finish_from_vector()
148 size_t n1_arr_size = (n1len + BC_VECTOR_SIZE - 1) / BC_VECTOR_SIZE; in bc_standard_mul()
149 size_t n2_arr_size = (n2len + BC_VECTOR_SIZE - 1) / BC_VECTOR_SIZE; in bc_standard_mul()
150 size_t prod_arr_size = (prodlen + BC_VECTOR_SIZE - 1) / BC_VECTOR_SIZE; in bc_standard_mul()
201 size_t n1_arr_size = (n1len + BC_VECTOR_SIZE - 1) / BC_VECTOR_SIZE; in bc_standard_square()
202 size_t prod_arr_size = (prodlen + BC_VECTOR_SIZE - 1) / BC_VECTOR_SIZE; in bc_standard_square()
254 if (len1 <= BC_VECTOR_SIZE && len2 <= BC_VECTOR_SIZE) { in bc_multiply()
279 if (len1 <= BC_VECTOR_SIZE) { in bc_square()
H A Dconvert.h32 if (len == BC_VECTOR_SIZE) { in bc_partial_convert_to_vector()
33 return bc_parse_chunk_chars(n - BC_VECTOR_SIZE + 1); in bc_partial_convert_to_vector()
52 size_t len = MIN(BC_VECTOR_SIZE, nlen); in bc_convert_to_vector()
H A Ddiv.c172 size_t divisor_top_digits = divisor_len % BC_VECTOR_SIZE; in bc_standard_div()
174 divisor_top_digits = BC_VECTOR_SIZE; in bc_standard_div()
177 size_t high_part_shift = POW_10_LUT[BC_VECTOR_SIZE - divisor_top_digits + 1]; in bc_standard_div()
261 size_t divisor_arr_size = (divisor_len + BC_VECTOR_SIZE - 1) / BC_VECTOR_SIZE; in bc_do_div()
262 …size = (numerator_readable_len + numerator_bottom_extension + BC_VECTOR_SIZE - 1) / BC_VECTOR_SIZE; in bc_do_div()
264 size_t quot_real_arr_size = MIN(quot_arr_size, (quot_len + BC_VECTOR_SIZE - 1) / BC_VECTOR_SIZE); in bc_do_div()
272 while (numerator_bottom_extension >= BC_VECTOR_SIZE) { in bc_do_div()
274 numerator_bottom_extension -= BC_VECTOR_SIZE; in bc_do_div()
278 size_t numerator_bottom_read_len = BC_VECTOR_SIZE - numerator_bottom_extension; in bc_do_div()
282 if (numerator_bottom_read_len < BC_VECTOR_SIZE) { in bc_do_div()
[all …]
H A Dprivate.h47 # define BC_VECTOR_SIZE 8 macro
53 # define BC_VECTOR_SIZE 4 macro

Completed in 9 milliseconds