Miscellaneous functions

gmp_version()

Return the version of the GMP library currently used as an integer.

For example GMP 4.3.2 is reported as 40302.

gmp_max_bitcnt()

Return the maximum value possible for the bit count as accepted or returned by functions dealing with bits.

The value is the maximum unsigned long defined on the server, so it can be \(2^{32}-1\) or \(2^{64}-1\) according to the server platform.