Re: BUG #5150: math bug

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #5150: math bug
Date: 2009-10-31 13:10:56
Message-ID: 603c8f070910310610h547ec8d0n82643ad91165e6fd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Oct 30, 2009 at 11:51 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> Tom Lane wrote:
>>
>> There is special-purpose software out there that can compute exactly
>> with rational numbers, but you aren't likely to find it embedded in any
>> general-purpose tools like databases --- the use-case just isn't wide
>> enough.  One reason why not is that it'll still fall down on irrational
>> numbers.
>>
>
>
> <nit>
>
> 1/3 is a rational number.  however,  it is a repeating fraction when
> expressed in decimal.
>
> </nit>

That's true. Nobody said otherwise.

...Robert

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2009-10-31 13:13:26 Re: BUG #5140: initdb crashes
Previous Message Pierre 2009-10-31 11:18:36 BUG #5156: Problem compiling postgresql-8.5alpha2