Re: IEEE 754 - Mailing list pgsql-admin

From Toni Schlichting
Subject Re: IEEE 754
Date
Msg-id 3FF2F414.1070608@schlichting.net
Whole thread Raw
In response to IEEE 754  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
List pgsql-admin
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
>
>



pgsql-admin by date:

Previous
From: "Chris Travers"
Date:
Subject: Re: data type
Next
From: Kris Kiger
Date:
Subject: dump contents & missing functions