From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Michael Glaesemann <grzm@myrealbox.com>
Cc: aspire420@hotpop.com
Cc: pgsql-admin@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] IEEE 754
Date: Sun, 4 Jan 2004 19:51:13 -0500 (EST)
Message-ID: <200401050051.i050pDF22348@candle.pha.pa.us> (raw)
In-Reply-To: <B54ECD34-3A3D-11D8-BE84-000A95C88220@myrealbox.com>
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.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, grzm@myrealbox.com, aspire420@hotpop.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] IEEE 754
In-Reply-To: <200401050051.i050pDF22348@candle.pha.pa.us>
References: <B54ECD34-3A3D-11D8-BE84-000A95C88220@myrealbox.com> <200401050051.i050pDF22348@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox