Lines Matching refs:quot
259 const char *divisor, size_t divisor_len, bc_num *quot, size_t quot_len in bc_do_div() argument
308 char *qptr = (*quot)->n_value; in bc_do_div()
331 bool bc_divide(bc_num numerator, bc_num divisor, bc_num *quot, size_t scale) in bc_divide() argument
338 bc_free_num(quot); in bc_divide()
342 *quot = bc_copy_num(BCG(_zero_)); in bc_divide()
349 *quot = bc_new_num_nonzeroed(numerator->n_len, quot_scale); in bc_divide()
350 char *qptr = (*quot)->n_value; in bc_divide()
352 (*quot)->n_sign = numerator->n_sign == divisor->n_sign ? PLUS : MINUS; in bc_divide()
353 _bc_rm_leading_zeros(*quot); in bc_divide()
426 *quot = bc_copy_num(BCG(_zero_)); in bc_divide()
448 *quot = bc_copy_num(BCG(_zero_)); in bc_divide()
461 *quot = bc_new_num_nonzeroed(numerator_len, quot_scale); in bc_divide()
462 char *qptr = (*quot)->n_value; in bc_divide()
471 (*quot)->n_sign = numerator->n_sign == divisor->n_sign ? PLUS : MINUS; in bc_divide()
477 *quot = bc_new_num_nonzeroed(1, scale); in bc_divide()
480 *quot = bc_new_num_nonzeroed(numerator_len - divisor_len + 1, scale); in bc_divide()
485 … numerator_readable_len, numerator_bottom_extension, divisorend, divisor_len, quot, quot_full_len); in bc_divide()
486 _bc_rm_leading_zeros(*quot); in bc_divide()
487 if (bc_is_zero(*quot)) { in bc_divide()
488 (*quot)->n_sign = PLUS; in bc_divide()
490 (*quot)->n_sign = numerator->n_sign == divisor->n_sign ? PLUS : MINUS; in bc_divide()