arbitrary precision integers and rationals for PostgreSQL 13


pgmp is a PostgreSQL extension to add the GMP data types and functions directly into the database.

The extension adds the types mpz (arbitrary size integers) and mpq (arbitrary precision rationals) to PostgreSQL and exposes to the database all the functions available in the GMP library for these data types, allowing:

 * higher performance arithmetic on integers respect to the numeric data type
 * a rational data type for absolute precision storage and arithmetic
 * using specialized functions to deal with prime numbers, random numbers,
   factorization directly into the database.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install postgresql-13-pgmp