public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andres Freund <[email protected]>
To: Tom Lane <[email protected]>
Cc: Bertrand Drouvot <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: [email protected]
Subject: Re: Defend against -ffast-math in meson builds
Date: Wed, 11 Mar 2026 13:48:31 -0400
Message-ID: <dx5yldtsqih2htsd7cz3tfxt5zhuggpeegwllz7wz2r26tll5h@cwhsw4ddfbc5> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<vwnxbsap65km373ghtqhhvhwnc35suwraegb7z5op4okxyuwzu@kpaumampogpe>
	<[email protected]>
	<[email protected]>
	<abGPko4lPv/[email protected]>
	<[email protected]>

Hi,

On 2026-03-11 12:45:55 -0400, Tom Lane wrote:
> So no, I don't wanna support this.  But maybe we should move the
> code-level tests out of the datetime files and into utils/float.h
> or some such place.

I think it's probably better to have it in a .c file (maybe float.c), I could
kinda imagine some extension intentionally enabling -ffast-math, because it
does something numerically intensive where the incorrectness doesn't matter.

Greetings,

Andres Freund





view thread (14+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Defend against -ffast-math in meson builds
  In-Reply-To: <dx5yldtsqih2htsd7cz3tfxt5zhuggpeegwllz7wz2r26tll5h@cwhsw4ddfbc5>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox