Lines Matching refs:divisor
259 const char *divisor, size_t divisor_len, bc_num *quot, size_t quot_len in bc_do_div() argument
298 bc_convert_to_vector(divisor_vectors, divisor, divisor_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
334 if (bc_is_zero(divisor)) { in bc_divide()
347 if (_bc_do_compare(divisor, BCG(_one_), divisor->n_scale, false) == BCMATH_EQUAL) { in bc_divide()
352 (*quot)->n_sign = numerator->n_sign == divisor->n_sign ? PLUS : MINUS; in bc_divide()
362 char *divisorptr = divisor->n_value; in bc_divide()
363 char *divisorend = divisorptr + divisor->n_len + divisor->n_scale - 1; in bc_divide()
364 size_t divisor_len = divisor->n_len; in bc_divide()
365 size_t divisor_scale = divisor->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()