Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIaWR-0006Ql-2W for pgsql-hackers@arkaria.postgresql.org; Tue, 15 May 2018 14:01:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fIaWP-00062P-N4 for pgsql-hackers@arkaria.postgresql.org; Tue, 15 May 2018 14:01:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIaWP-00062E-CK for pgsql-hackers@lists.postgresql.org; Tue, 15 May 2018 14:01:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIaWJ-0003LY-Ov for pgsql-hackers@postgresql.org; Tue, 15 May 2018 14:01:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w4FE1RnT018050; Tue, 15 May 2018 10:01:27 -0400 From: Tom Lane To: David Rowley cc: Bruce Momjian , =?UTF-8?B?xJDhurduZyBNaW5oIEjGsOG7m25n?= , PostgreSQL-development Subject: Re: Postgres 11 release notes In-reply-to: References: <20180511150852.GA18510@momjian.us> <20180514202850.GE5217@momjian.us> Comments: In-reply-to David Rowley message dated "Tue, 15 May 2018 18:00:41 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18048.1526392887.1@sss.pgh.pa.us> Date: Tue, 15 May 2018 10:01:27 -0400 Message-ID: <18049.1526392887@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk David Rowley writes: > On 15 May 2018 at 08:28, Bruce Momjian wrote: >> Consistently return NaN for >> NaN inputs to power() >> on older platforms (Dang Minh Huong) > While I'm not in favour of removing Dang's credit here, technically > this patch was Tom's. The code added in float.c by Dang's patch > (61b200e2f) was effectively reverted by 6bdf1303. Dang's regression > tests remain, so should also be credited along with Tom. I'm not particularly fussed about getting credit for that. However, looking again at how that patch series turned out --- ie, that we ensured POSIX behavior for NaNs only in HEAD --- I wonder whether we shouldn't do what was mentioned in the commit log for 6bdf1303, and teach numeric_pow() about these same special cases. It seems like it would be more consistent to change both functions for v11, rather than letting that other shoe drop in some future major release. regards, tom lane