Searched refs:quot (Results 1 – 2 of 2) sorted by relevance
/lib/mpi/ |
D | mpi-div.c | 17 void mpi_tdiv_qr(MPI quot, MPI rem, MPI num, MPI den); 18 void mpi_fdiv_qr(MPI quot, MPI rem, MPI dividend, MPI divisor); 43 void mpi_fdiv_q(MPI quot, MPI dividend, MPI divisor) in mpi_fdiv_q() argument 45 MPI tmp = mpi_alloc(mpi_get_nlimbs(quot)); in mpi_fdiv_q() 46 mpi_fdiv_qr(quot, tmp, dividend, divisor); in mpi_fdiv_q() 50 void mpi_fdiv_qr(MPI quot, MPI rem, MPI dividend, MPI divisor) in mpi_fdiv_qr() argument 55 if (quot == divisor || rem == divisor) { in mpi_fdiv_qr() 60 mpi_tdiv_qr(quot, rem, dividend, divisor); in mpi_fdiv_qr() 63 mpi_sub_ui(quot, quot, 1); in mpi_fdiv_qr() 83 void mpi_tdiv_qr(MPI quot, MPI rem, MPI num, MPI den) in mpi_tdiv_qr() argument [all …]
|
/lib/math/ |
D | div64.c | 107 u64 quot; in div64_u64_rem() local 111 quot = div_u64_rem(dividend, divisor, &rem32); in div64_u64_rem() 115 quot = div_u64(dividend >> n, divisor >> n); in div64_u64_rem() 117 if (quot != 0) in div64_u64_rem() 118 quot--; in div64_u64_rem() 120 *remainder = dividend - quot * divisor; in div64_u64_rem() 122 quot++; in div64_u64_rem() 127 return quot; in div64_u64_rem() 147 u64 quot; in div64_u64() local 150 quot = div_u64(dividend, divisor); in div64_u64() [all …]
|