Next: Rational Number Functions, Previous: Reporting Bugs, Up: Top [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`.

• Initializing Integers: |  |
• Assigning Integers: |  |
• Simultaneous Integer Init & Assign: |  |
• Converting Integers: |  |
• Integer Arithmetic: |  |
• Integer Division: |  |
• Integer Exponentiation: |  |
• Integer Roots: |  |
• Number Theoretic Functions: |  |
• Integer Comparisons: |  |
• Integer Logic and Bit Fiddling: |  |
• I/O of Integers: |  |
• Integer Random Numbers: |  |
• Integer Import and Export: |  |
• Miscellaneous Integer Functions: |  |
• Integer Special Functions: |  |