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