Re: BUG #5150: math bug - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #5150: math bug
Date
Msg-id 603c8f070910310610h547ec8d0n82643ad91165e6fd@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5150: math bug  (John R Pierce <pierce@hogranch.com>)
List pgsql-bugs
On Fri, Oct 30, 2009 at 11:51 PM, John R Pierce <pierce@hogranch.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. =A0One reason why not is that it'll still fall down on irrational
>> numbers.
>>
>
>
> <nit>
>
> 1/3 is a rational number. =A0however, =A0it is a repeating fraction when
> expressed in decimal.
>
> </nit>

That's true.  Nobody said otherwise.

...Robert

pgsql-bugs by date:

Previous
From: Karen Pease
Date:
Subject: Re: Postmaster hangs
Next
From: Robert Haas
Date:
Subject: Re: BUG #5140: initdb crashes