Lines Matching refs:numerator
258 const char *numerator, size_t numerator_readable_len, size_t numerator_bottom_extension, in bc_do_div() argument
287 numerator_vectors[numerator_vector_count] += *numerator * base; in bc_do_div()
289 numerator--; in bc_do_div()
296 …bc_convert_to_vector(numerator_vectors + numerator_vector_count, numerator, numerator_readable_len… in bc_do_div()
331 bool bc_divide(bc_num numerator, bc_num divisor, bc_num *quot, size_t scale) in bc_divide() argument
341 if (bc_is_zero(numerator)) { in bc_divide()
348 size_t quot_scale = MIN(numerator->n_scale, scale); in bc_divide()
349 *quot = bc_new_num_nonzeroed(numerator->n_len, quot_scale); in bc_divide()
351 memcpy(qptr, numerator->n_value, numerator->n_len + quot_scale); in bc_divide()
352 (*quot)->n_sign = numerator->n_sign == divisor->n_sign ? PLUS : MINUS; in bc_divide()
357 char *numeratorptr = numerator->n_value; in bc_divide()
358 char *numeratorend = numeratorptr + numerator->n_len + numerator->n_scale - 1; in bc_divide()
359 size_t numerator_len = numerator->n_len; in bc_divide()
360 size_t numerator_scale = numerator->n_scale; in bc_divide()
471 (*quot)->n_sign = numerator->n_sign == divisor->n_sign ? PLUS : MINUS; in bc_divide()
490 (*quot)->n_sign = numerator->n_sign == divisor->n_sign ? PLUS : MINUS; in bc_divide()