Re: IEEE 754

From: Toni Schlichting <toni(at)schlichting(dot)net>
To: aspire420(at)hotpop(dot)com
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: IEEE 754
Date: 2003-12-31 16:06:44
Message-ID: 3FF2F414.1070608@schlichting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

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(at)postgresql(dot)org
>
>

In response to

  • IEEE 754 at 2003-12-29 17:28:41 from Sai Hertz And Control Systems

Browse pgsql-admin by date

  From Date Subject
Next Message Kris Kiger 2003-12-31 16:09:33 dump contents & missing functions
Previous Message Chris Travers 2003-12-31 12:31:29 Re: data type

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-12-31 16:16:48 Re: Is my MySQL Gaining ?
Previous Message Iavor Raytchev 2003-12-31 14:22:57 Uninstalling Mammoth