File: misc.rst

package info (click to toggle)
postgresql-pgmp 1.0.5-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 556 kB
  • sloc: ansic: 2,059; sql: 853; python: 591; makefile: 101; sh: 15
file content (19 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Miscellaneous functions
=======================

.. function:: gmp_version()

    Return the version of the GMP library currently used as an integer.
    
    For example GMP 4.3.2 is reported as 40302.


.. function:: 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 :math:`2^{32}-1` or :math:`2^{64}-1` according to the server platform.