Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dvarrazzo/pgmp
PostgreSQL Multiple Precision Arithmetic extension
https://github.com/dvarrazzo/pgmp
Last synced: 12 days ago
JSON representation
PostgreSQL Multiple Precision Arithmetic extension
- Host: GitHub
- URL: https://github.com/dvarrazzo/pgmp
- Owner: dvarrazzo
- License: lgpl-3.0
- Created: 2011-03-05T13:03:01.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-07-06T22:03:41.000Z (4 months ago)
- Last Synced: 2024-10-20T09:03:23.905Z (20 days ago)
- Language: C
- Homepage: https://dvarrazzo.github.io/pgmp/
- Size: 391 KB
- Stars: 29
- Watchers: 3
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- Changelog: NEWS.rst
- Funding: .github/FUNDING.yml
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
PostgreSQL Multiple Precision Arithmetic extension
==================================================|status|
.. |status| image:: https://github.com/dvarrazzo/pgmp/actions/workflows/tests.yml/badge.svg
:target: https://github.com/dvarrazzo/pgmp/actions/workflows/tests.yml
:alt: Build statuspgmp is a PostgreSQL extension module to add support for the arbitrary
precision data types offered by the GMP library 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 types,
providing:- higher performance arithmetic on integers respect to the ``decimal``
data type, using numbers only limited by the 1GB varlena maximum size;- a rational data type for absolute precision storage and arithmetic;
- the use of specialized functions to deal with prime numbers, random
numbers, factorization directly into the database.The GMP data types can be stored into the database, used in mixed
arithmetic with other PostgreSQL numeric types and indexed using the
btree or hash methods.Please refer to the documentation for installation and usage, either
online__ or in the ``docs/`` directory.- Homepage: https://www.varrazzo.com/pgmp/
- Project page: https://github.com/dvarrazzo/pgmp/
- Download: https://pgxn.org/dist/pgmp/.. _mpz: https://www.varrazzo.com/pgmp/mpz.html
.. _mpq: https://www.varrazzo.com/pgmp/mpq.html
.. __: https://www.varrazzo.com/pgmp/