Skip site navigation (1) Skip section navigation (2)

BUG #3791: Bug in aritmethic calculations

From: "Michailas" <michailas(dot)p(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3791: Bug in aritmethic calculations
Date: 2007-11-30 09:18:23
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      3791
Logged by:          Michailas
Email address:      michailas(dot)p(at)gmail(dot)com
PostgreSQL version: 8.2.4-2
Operating system:   Debian
Description:        Bug in aritmethic calculations

postgres=# SELECT abs(300 - 200)/200*100 as bad, abs(300-200)*100/200 as

 bad | good
   0 |   50
(1 row)


pgsql-bugs by date

Next:From: MarekDate: 2007-11-30 10:00:03
Subject: BUG #3792: cluster in UTF deny database in LATIN2
Previous:From: NikhilSDate: 2007-11-30 07:44:53
Subject: Re: BUG #3774: create table like including index doesn't update pg_constraints with primary key

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group