Package: postgresql-16-rational Source: pg-rational Version: 0.0.2-6.pgdg22.04+1 Architecture: amd64 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 76 Depends: postgresql-16, postgresql-16-jit-llvm (>= 14), libc6 (>= 2.4) Homepage: https://github.com/begriffs/pg_rational Priority: optional Section: database Filename: pool/main/p/pg-rational/postgresql-16-rational_0.0.2-6.pgdg22.04+1_amd64.deb Size: 25460 SHA256: f0df74adb900ae5959ddcd993b80c144e5c08c01978f1b710e781fdc3b87c4f8 SHA1: 52be1c17ef6a35ea6d18358580881d041bc7c119 MD5sum: ce6c8003f2008f8262b77ba43232206d Description: Precise fractional arithmetic for PostgreSQL pg_rational implements precise fractional arithmetic for PostgreSQL. Perfect for exact arithmetic or user-specified table row ordering. Holds values as big as an integer, with matching precision in the denominator. . Features: * Stores fractions in exactly 64 bits (same size as float) * Written in C for high performance * Detects and halts arithmetic overflow for correctness * Uses native CPU instructions for fast overflow detection * Defers GCD calculation until requested or absolutely required * Supports btree and hash indices * Implements Stern-Brocot trees for finding intermediate points * Coercion from integer/bigint/tuple * Custom aggregate