Package: postgresql-15-rational Source: pg-rational Version: 0.0.2-6.pgdg20.04+1 Architecture: amd64 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 77 Depends: postgresql-15, postgresql-15-jit-llvm (>= 10), libc6 (>= 2.4) Homepage: https://github.com/begriffs/pg_rational Priority: optional Section: database Filename: pool/main/p/pg-rational/postgresql-15-rational_0.0.2-6.pgdg20.04+1_amd64.deb Size: 25212 SHA256: 1d16e2581a8176b861d9ca89aa595a226be64a254346d80cd00712c7f1d05e08 SHA1: 75ef56b1570f3066abd8459c338b6b01ebc13fd1 MD5sum: 864445e30de551d4c44976b0aa6108a3 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