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 17F36D1B46A; Wed, 31 Dec 2003 16:06:21 +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 99979-08; Wed, 31 Dec 2003 12:05:32 -0400 (AST) Received: from host8.checkdomain.de (host8.checkdomain.de [62.116.141.18]) by svr1.postgresql.org (Postfix) with ESMTP id 89BABD1B458; Wed, 31 Dec 2003 12:05:14 -0400 (AST) Received: from schlichting.net (pD9E8C48C.dip0.t-ipconnect.de [217.232.196.140]) (authenticated bits=0) by host8.checkdomain.de (8.12.3/8.12.3/Debian-6.4) with ESMTP id hBVG40aV023714; Wed, 31 Dec 2003 17:04:04 +0100 Message-ID: <3FF2F414.1070608@schlichting.net> Date: Wed, 31 Dec 2003 17:06:44 +0100 From: Toni Schlichting User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: aspire420@hotpop.com Cc: pgsql-admin@postgresql.org, pgsql-hackers@postgresql.org Subject: Re: IEEE 754 References: <3FF06449.7080208@sancharnet.in> In-Reply-To: <3FF06449.7080208@sancharnet.in> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/352 X-Sequence-Number: 11858 Hi Vishal, usage of floating poing arithmetic is a taboo in financial calculations. This what the decimal type has been created for. Never ever use float. Ciao, Toni Sai Hertz And Control Systems wrote: > Dear all , > > I would like to share my concerns about the IEEE 754 specification and > floating point handling by PostgreSQL . > > Also I would like to learn how professional users of PostgreSQL work > with rounding of monetary terms . > > If you would like to know whats IEEE 754 read this > http://docs.sun.com/source/806-3568/ncg_goldberg.html > > > Regards, > Vishal Kashyap. > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > >