Skip to content
Sections
>> Trisquel >> Packages >> nabia >> database >> postgresql-12-rational
nabia  ]
[ Source: pg-rational  ]

Package: postgresql-12-rational (0.0.2-1)

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

Other Packages Related to postgresql-12-rational

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: postgresql-12
    object-relational SQL database, version 12 server

Download postgresql-12-rational

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 23.9 kB75 kB [list of files]
armhf 23.3 kB68 kB [list of files]