Go to the first, previous, next, last section, table of contents.


Comparison Functions

Function: int mpz_cmp (mpz_t op1, mpz_t op2)

Macro: int mpz_cmp_ui (mpz_t op1, unsigned long int op2)
Macro: int mpz_cmp_si (mpz_t op1, signed long int op2)

These functions are actually implemented as macros. They evaluate their arguments multiple times.

Macro: int mpz_sgn (mpz_t op)

This function is actually implemented as a macro. It evaluates its arguments multiple times.


Go to the first, previous, next, last section, table of contents.