Home
last modified time | relevance | path

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

/PHP-8.4/ext/bcmath/libbcmath/src/
H A Dround.c56 size_t rounded_len = num->n_len + precision; in bc_round() local
63 if (rounded_len == 0) { in bc_round()
67 memcpy((*result)->n_value, num->n_value, rounded_len); in bc_round()
71 const char *nptr = num->n_value + rounded_len; in bc_round()
126 size_t count = num->n_len + num->n_scale - rounded_len - 1; in bc_round()
145 if (rounded_len == 0 || num->n_value[rounded_len - 1] % 2 == 0) { in bc_round()
151 if (rounded_len != 0 && num->n_value[rounded_len - 1] % 2 == 1) { in bc_round()
163 if (rounded_len == 0) { in bc_round()
169 scaled_one->n_value[rounded_len - 1] = 1; in bc_round()

Completed in 4 milliseconds