Integer Functions (GNU MP 6.3.0)
Description: How to install and use the GNU multiple precision arithmetic library, version 6.3.0.

Next: Rational Number Functions, Previous: Reporting Bugs, Up: GNU MP [Index]

## 5 Integer Functions ¶

This chapter describes the GMP functions for performing integer arithmetic. These functions start with the prefix `mpz_`.

GMP integers are stored in objects of type `mpz_t`.

- Initialization Functions
- Assignment Functions
- Combined Initialization and Assignment Functions
- Conversion Functions
- Arithmetic Functions
- Division Functions
- Exponentiation Functions
- Root Extraction Functions
- Number Theoretic Functions
- Comparison Functions
- Logical and Bit Manipulation Functions
- Input and Output Functions
- Random Number Functions
- Integer Import and Export
- Miscellaneous Functions
- Special Functions