On Sat, Apr 17, 2010 at 5:11 AM, Tom Lane wrote:
> "Khee Chin" writes:
>> I'm not certain if this is a bug or an intended behavior.
>
>> I noticed a discrepency in calculating the remainders across pgsql (PG),
>> wolframalpha (W) and using Knuth's description of floored division
>
> We follow wha
"Khee Chin" writes:
> I'm not certain if this is a bug or an intended behavior.
> I noticed a discrepency in calculating the remainders across pgsql (PG),
> wolframalpha (W) and using Knuth's description of floored division
We follow whatever the C compiler's idea of modulo is. This is somewhat