Re: Numeric patch to add special-case representations for < 8 bytes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: "Patric Bechtel" <bechtel(at)ipcon(dot)de>, "pgsql-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Numeric patch to add special-case representations for < 8 bytes
Date: 2007-03-02 06:38:11
Message-ID: 2452.1172817491@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Gregory Stark <stark(at)enterprisedb(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message John Bartlett 2007-03-02 06:47:46 Re: [PATCHES] - WIP Patch Updatable Cursor
Previous Message Pavan Deolasee 2007-03-02 02:55:43 Resending - HOT WIP Patch - version 4