From: | Michael Glaesemann <grzm(at)myrealbox(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | pgsql-admin(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org, aspire420(at)hotpop(dot)com |
Subject: | Re: [HACKERS] IEEE 754 |
Date: | 2004-01-05 06:01:04 |
Message-ID: | 8C33EA12-3F44-11D8-BA4F-000A95C88220@myrealbox.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers |
On Jan 4, 2004, at 6:51 PM, Bruce Momjian wrote:
> Michael Glaesemann wrote:
>>
>> On Dec 29, 2003, at 11:28 AM, Sai Hertz And Control Systems wrote:
>>> I would like to share my concerns about the IEEE 754 specification
>>> and
>>> floating point handling by PostgreSQL .
>>
>> What specifically are your concerns regarding floating point handling
>> and PostgreSQL? I'm not in a position to address your concerns, but I
>> would like to know what they are.
>
> Floating point math itself is not precise, but rather an approximation,
> usually of 8 or 14 digits. You can't approximate money. This isn't a
> PostgreSQL issue but rather a general programming issue.
Thanks, Bruce. I assume the arbitrary precision arithmetic Jan
mentioned which is used for the NUMERIC type takes care of this.
Michael Glaesemann
grzm myrealbox com
From | Date | Subject | |
---|---|---|---|
Next Message | Karel Zak | 2004-01-05 09:16:24 | Re: PG_DUMP - LO PROBLEM |
Previous Message | Gaetano Mendola | 2004-01-05 01:32:31 | Re: Dropping a DB while it is in use? |
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Barwick | 2004-01-05 06:08:52 | Re: Is my MySQL Gaining ? |
Previous Message | Robert Treat | 2004-01-05 05:45:43 | Re: Is my MySQL Gaining ? |