DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(gcrypt.info.gz) Comparisons

Info Catalog (gcrypt.info.gz) Calculations (gcrypt.info.gz) MPI library (gcrypt.info.gz) Bit manipulations
 
 11.5 Comparisons
 ================
 
 The next 2 functions are used to compare MPIs:
 
  -- Function: int gcry_mpi_cmp (const gcry_mpi_t U, const gcry_mpi_t V)
      Compare the big integer number U and V returning 0 for equality, a
      positive value for U > V and a negative for U < V.
 
  -- Function: int gcry_mpi_cmp_ui (const gcry_mpi_t U, unsigned long V)
      Compare the big integer number U with the unsigned integer V
      returning 0 for equality, a positive value for U > V and a
      negative for U < V.
 
Info Catalog (gcrypt.info.gz) Calculations (gcrypt.info.gz) MPI library (gcrypt.info.gz) Bit manipulations
automatically generated byinfo2html