Re: Numeric patch to add special-case representations for < 8 bytes - Mailing list pgsql-patches

From Tom Lane
Subject Re: Numeric patch to add special-case representations for < 8 bytes
Date
Msg-id 2452.1172817491@sss.pgh.pa.us
Whole thread Raw
In response to Re: Numeric patch to add special-case representations for < 8 bytes  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: Numeric patch to add special-case representations for < 8 bytes
List pgsql-patches
Gregory Stark <stark@enterprisedb.com> writes:
> If we stored the digits in base 2 with a base 10 exponent would it really be
> too hard to output the digits?

Exact decimal fractions are no longer exact when converted to base 2.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Pavan Deolasee"
Date:
Subject: Resending - HOT WIP Patch - version 4
Next
From: "John Bartlett"
Date:
Subject: Re: [HACKERS] - WIP Patch Updatable Cursor