Next: , Previous: Reentrancy, Up: MPIR Basics   [Index]


3.9 Useful Macros and Constants

Global Constant: const int mp_bits_per_limb

The number of bits per limb.

Macro: __GNU_MP_VERSION
Macro: __GNU_MP_VERSION_MINOR
Macro: __GNU_MP_VERSION_PATCHLEVEL

The major and minor GMP version, and patch level, respectively, as integers. For GMP i.j.k, these numbers will be i, j, and k, respectively. These numbers represent the version of GMP fully supported by this version of MPIR.

Macro: __MPIR_VERSION
Macro: __MPIR_VERSION_MINOR
Macro: __MPIR_VERSION_PATCHLEVEL

The major and minor MPIR version, and patch level, respectively, as integers. For MPIR i.j.k, these numbers will be i, j, and k, respectively.

Global Constant: const char * const gmp_version

The GNU MP version number, as a null-terminated string, in the form “i.j.k”.

Macro: __GMP_CC
Macro: __GMP_CFLAGS

The compiler and compiler flags, respectively, used when compiling GMP, as strings.

Global Constant: const char * const mpir_version

The MPIR version number, as a null-terminated string, in the form “i.j.k”. This release is "3.0.0".