Re: POC: rational number type (fractions)

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Joe Nelson <joe(at)begriffs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: POC: rational number type (fractions)
Date: 2020-05-18 21:33:47
Message-ID: 0e2422da-953b-6b96-1900-f67c7e5e3307@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-02-08 05:25, Joe Nelson wrote:
> Hi hackers, attached is a proof of concept patch adding a new base type
> called "rational" to represent fractions. It includes arithmetic,
> simplification, conversion to/from float, finding intermediates with a
> stern-brocot tree, custom aggregates, and btree/hash indices.

The numeric type already stores rational numbers. How is this
different? What's the use?

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2020-05-18 21:40:20 Re: PostgresSQL project
Previous Message Alvaro Herrera 2020-05-18 20:11:29 Re: Another modest proposal for docs formatting: catalog descriptions