X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6701CD1B444; Mon, 5 Jan 2004 00:53:04 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 62087-03; Sun, 4 Jan 2004 20:52:18 -0400 (AST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id BCD15D1B432; Sun, 4 Jan 2004 20:52:13 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i050pDF22348; Sun, 4 Jan 2004 19:51:13 -0500 (EST) From: Bruce Momjian Message-Id: <200401050051.i050pDF22348@candle.pha.pa.us> Subject: Re: [HACKERS] IEEE 754 In-Reply-To: To: Michael Glaesemann Date: Sun, 4 Jan 2004 19:51:13 -0500 (EST) Cc: aspire420@hotpop.com, pgsql-admin@postgresql.org, pgsql-hackers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/26 X-Sequence-Number: 11889 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