Lines Matching refs:u
23 int mpi_cmp_ui(MPI u, unsigned long v) in mpi_cmp_ui() argument
27 mpi_normalize(u); in mpi_cmp_ui()
28 if (!u->nlimbs && !limb) in mpi_cmp_ui()
30 if (u->sign) in mpi_cmp_ui()
32 if (u->nlimbs > 1) in mpi_cmp_ui()
35 if (u->d[0] == limb) in mpi_cmp_ui()
37 else if (u->d[0] > limb) in mpi_cmp_ui()
44 static int do_mpi_cmp(MPI u, MPI v, int absmode) in do_mpi_cmp() argument
52 mpi_normalize(u); in do_mpi_cmp()
55 usize = u->nlimbs; in do_mpi_cmp()
57 usign = absmode ? 0 : u->sign; in do_mpi_cmp()
75 cmp = mpihelp_cmp(u->d, v->d, usize); in do_mpi_cmp()
84 int mpi_cmp(MPI u, MPI v) in mpi_cmp() argument
86 return do_mpi_cmp(u, v, 0); in mpi_cmp()
90 int mpi_cmpabs(MPI u, MPI v) in mpi_cmpabs() argument
92 return do_mpi_cmp(u, v, 1); in mpi_cmpabs()