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 int mpi_cmp(MPI u, MPI v) in mpi_cmp() argument
49 mpi_normalize(u); in mpi_cmp()
51 usize = u->nlimbs; in mpi_cmp()
53 if (!u->sign && v->sign) in mpi_cmp()
55 if (u->sign && !v->sign) in mpi_cmp()
57 if (usize != vsize && !u->sign && !v->sign) in mpi_cmp()
59 if (usize != vsize && u->sign && v->sign) in mpi_cmp()
63 cmp = mpihelp_cmp(u->d, v->d, usize); in mpi_cmp()
64 if (u->sign) in mpi_cmp()