Package: postgresql-18-rational Source: pg-rational Version: 0.0.2-8.pgdg22.04+1 Architecture: amd64 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 75 Depends: postgresql-18, libc6 (>= 2.4) Breaks: postgresql-18-jit-llvm (<< 15) Homepage: https://github.com/begriffs/pg_rational Priority: optional Section: database Filename: pool/main/p/pg-rational/postgresql-18-rational_0.0.2-8.pgdg22.04+1_amd64.deb Size: 24824 SHA256: 56eb31d5508d4f4b832a0c51fec3bf731f7613dcd7a15714ebd551a3e01c0433 SHA1: 9fb747bc880d5460a10e0475338f55fd3f208d04 MD5sum: 2e048771c1085b6847965064490f0365 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