pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Use static inline functions for float <-> Datum conversions.
Date: Wed, 31 Aug 2016 13:48:18 -0400
Message-ID: <6493.1472665698@sss.pgh.pa.us> (raw)
In-Reply-To: <8e543348-89d0-02c0-21d3-65c3bb042294@iki.fi>
References: <E1bf5B4-0003vG-0N@gemulon.postgresql.org>
	<4640.1472664476@sss.pgh.pa.us>
	<8e543348-89d0-02c0-21d3-65c3bb042294@iki.fi>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Heikki Linnakangas <hlinnaka@iki.fi> writes:
> On 08/31/2016 08:27 PM, Tom Lane wrote:
>> We had a bunch of similar problems in the recent work on exact degree trig
>> functions, and eventually found that storing values into volatile float8
>> variables was the most reliable way to force rounding to the expected
>> storage width.  I propose to replace the above hack with declaring
>> newelemorder as volatile, and see if that makes things better.

> Sounds reasonable. None of this is supposed to be necessary, we're just 
> working around broken compilers, so whatever works.

> I'll prepare a patch for that tomorrow, unless you're on it already.

On it already.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (4+ messages)

Message-ID: <6493.1472665698@sss.pgh.pa.us>
Permalink:  ../6493.1472665698@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6493.1472665698@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hlinnaka@iki.fi, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Use static inline functions for float <-> Datum conversions.
  In-Reply-To: <6493.1472665698@sss.pgh.pa.us>
  References: <E1bf5B4-0003vG-0N@gemulon.postgresql.org> <4640.1472664476@sss.pgh.pa.us> <8e543348-89d0-02c0-21d3-65c3bb042294@iki.fi> <6493.1472665698@sss.pgh.pa.us>

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

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