Source: pg-rational Section: database Priority: optional Maintainer: Debian PostgreSQL Maintainers Uploaders: Christoph Berg , Build-Depends: debhelper-compat (= 13), architecture-is-64-bit , postgresql-all , postgresql-server-dev-all, Standards-Version: 4.7.2 Homepage: https://github.com/begriffs/pg_rational Vcs-Browser: https://salsa.debian.org/postgresql/pg-rational Vcs-Git: https://salsa.debian.org/postgresql/pg-rational.git Package: postgresql-18-rational Architecture: any Depends: ${misc:Depends}, ${postgresql:Depends}, ${shlibs:Depends}, Breaks: ${postgresql:Breaks}, 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