Re: modulo operator bug?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kemal Bayram <kemal@corenetworks.co.uk>
Cc: pgsql-bugs@postgresql.org
Date: 2001-03-14T15:41:24Z
Lists: pgsql-bugs
Kemal Bayram <kemal@corenetworks.co.uk> writes:
> from psql:
> kemal=# select 0.99 % 0.50;
>  ?column? 
> ----------
>      0.04
> (1 row)

> Am I missing something fundemental here or is this indeed a bug?

Looks like a bug to me too.  mod_var shouldn't be using tmp.rscale,
I think.

			regards, tom lane