Re: RPM building (was regression on RedHat) - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: RPM building (was regression on RedHat)
Date
Msg-id 3AB9A0B8.2EE0D04C@alumni.caltech.edu
Whole thread Raw
In response to Re: RPM building (was regression on RedHat)  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: RPM building (was regression on RedHat)  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> You're reading this wrong.  What this means is:
> "If you're working on GCC, do not ever think of enabling -ffast-math
> implicitly by any -Ox level [since most other -fxxx options are grouped
> under some -Ox], since programs that might want optimization could still
> depend on correct IEEE math."
> In particular, Mandrake is not wrong to compile with -O3 and -ffast-math.
> The consequence would only be slightly incorrect math results, and that is
> what indeed happened.

?? I think we agree. It happens to be the case that slightly incorrect
results are wrong results, and that full IEEE math conformance gives
exactly correct results. For the case of date/time, the "slightly wrong"
results round up to 60.0 seconds for times on an even minute boundary,
which is just plain wrong.
                      - Thomas


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Strange results of CURRENT_TIMESTAMP
Next
From: Alfred Perlstein
Date:
Subject: Re: pgindent run?