Re: RPM building (was regression on RedHat)

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: lockhart(at)fourpalms(dot)org, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: RPM building (was regression on RedHat)
Date: 2001-03-22 06:50:32
Message-ID: 3AB9A0B8.2EE0D04C@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alfred Perlstein 2001-03-22 07:21:03 Re: pgindent run?
Previous Message Thomas Lockhart 2001-03-22 06:44:16 Re: Strange results of CURRENT_TIMESTAMP