Re: Postgres storing time in strange manner - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Postgres storing time in strange manner
Date
Msg-id 21141.1032242851@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postgres storing time in strange manner  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I said:
> I had success with this test:

BTW, some digging in the assembly code shows that the actual problem is
this: instead of emitting "x / 3600.0", with -ffast-math the compiler
emits the equivalent of "x * (double) (1.0 / 3600.0)".  It's the
last-bit inaccuracy of the latter constant that's killing us.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres storing time in strange manner
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #771: rewrite rules on update or insert do not report errors