Lines Matching refs:quot
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
111 if (quot) { in mpi_tdiv_qr()
115 quot->nlimbs = 0; in mpi_tdiv_qr()
116 quot->sign = 0; in mpi_tdiv_qr()
121 if (quot) in mpi_tdiv_qr()
122 mpi_resize(quot, qsize); in mpi_tdiv_qr()
132 if (quot) { in mpi_tdiv_qr()
133 qp = quot->d; in mpi_tdiv_qr()
136 quot->nlimbs = qsize; in mpi_tdiv_qr()
137 quot->sign = sign_quotient; in mpi_tdiv_qr()
148 if (quot) { in mpi_tdiv_qr()
149 qp = quot->d; in mpi_tdiv_qr()
192 if (dp == rp || (quot && (dp == qp))) { in mpi_tdiv_qr()
209 if (quot) { in mpi_tdiv_qr()
216 quot->nlimbs = qsize; in mpi_tdiv_qr()
217 quot->sign = sign_quotient; in mpi_tdiv_qr()