Node:Useful Macros and Constants, Next:, Previous:Reentrancy, Up:GMP Basics



Useful Macros and Constants

const int mp_bits_per_limb Global Constant
The number of bits per limb.

__GNU_MP_VERSION Macro
__GNU_MP_VERSION_MINOR Macro
__GNU_MP_VERSION_PATCHLEVEL Macro
The major and minor GMP version, and patch level, respectively, as integers. For GMP i.j, these numbers will be i, j, and 0, respectively. For GMP i.j.k, these numbers will be i, j, and k, respectively.

const char * const gmp_version Global Constant
The GMP version number, as a null-terminated string, in the form "i.j" or "i.j.k". This release is "4.1".