BUG #5150: math bug - Mailing list pgsql-bugs

From Gray
Subject BUG #5150: math bug
Date
Msg-id 200910300539.n9U5dARO058627@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5150: math bug
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5150
Logged by:          Gray
Email address:      gray@ms-irk.ru
PostgreSQL version: 8.2.6
Operating system:   i686-pc-linux-gnu
Description:        math bug
Details:

select 1/3*3,(1.0/3.0)*3.0,floor((1.0/3.0)*3.0);

returns
0, 1, 0

pgsql-bugs by date:

Previous
From: donniehan
Date:
Subject: Re: BUG #5147: DBA can not access view
Next
From: "Boris Folgmann"
Date:
Subject: BUG #5151: autovacuum process segfaults when max_fsm_pages are too low