Lines Matching refs:remainder
911 unsigned int remainder = int_part.divide_by_ten();
912 s[i] = static_cast<char>('0' + remainder);
915 if (remainder == 0)
1543 scfx_rep remainder = lhs;
1545 // align msb from remainder to msb from rhs
1546 remainder.lshift(to_shift);
1548 // make sure msw(remainder) < size - 1
1549 if (remainder.m_msw == remainder.size() - 1)
1550 remainder.resize_to(remainder.size() + 1, 1);
1552 // make sure msw(remainder) >= msw(rhs)!
1553 int msw_diff = rhs.m_msw - remainder.m_msw;
1555 remainder.resize_to(remainder.size() + msw_diff, -1);
1559 for (counter = div_wl; counter && !remainder.is_zero(); counter--) {
1560 if (compare_msw_ff(rhs, remainder) <= 0) {
1562 sub_with_index(remainder.m_mant, remainder.m_msw, remainder.m_lsw,
1566 remainder.shift_left(1);
1567 remainder.m_lsw = remainder.find_lsw();
2152 unsigned int remainder = 0;
2162 ls.s.u = static_cast<half_word>(remainder);
2164 remainder = ls.l % 10;
2169 return remainder;