Received: from [140.186.70.92] (port=46160 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZBvY-0001vR-Os for qemu-devel@nongnu.org; Sat, 01 Jan 2011 19:36:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZBvX-00040X-4k for qemu-devel@nongnu.org; Sat, 01 Jan 2011 19:36:04 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:53322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZBvW-0003zP-Up for qemu-devel@nongnu.org; Sat, 01 Jan 2011 19:36:03 -0500 Message-Id: From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Qemu-devel] [PATCH V2] softfloat: Rename float*_is_nan() functions to float*_is_quiet_nan() Date: Sun, 2 Jan 2011 01:35:52 +0100 References: <1292601366-990-1-git-send-email-peter.maydell@linaro.org> Sender: andreas.faerber@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Aurelien Jarno Cc: "Edgar E. Iglesias" , QEMU Developers , Nathan Froyd Am 02.01.2011 um 00:46 schrieb Peter Maydell: > On 17 December 2010 15:56, Peter Maydell > wrote: >> The softfloat functions float*_is_nan() were badly misnamed, >> because they return true only for quiet NaNs, not for all NaNs. >> Rename them to float*_is_quiet_nan() to more accurately reflect >> what they do. >> >> This change was produced by: >> perl -p -i -e 's/_is_nan/_is_quiet_nan/g' $(git grep -l is_nan) >> (with the results manually checked.) >> >> Signed-off-by: Peter Maydell >> Reviewed-by: Nathan Froyd >> Acked-by: Edgar E. Iglesias > > Ping? This patch got no further comments (although it provoked > a long thread on a completely unrelated topic), it's been > reviewed and it still applies to master currently. I think it's > an uncontroversially good idea (~80% of current uses of the > functions are actually buggy because the people who wrote > them were misled by the function name!). > > Can it be applied please? No objections from my side. While I have not yet tested it, the fpu/ changes only have *_is_* functions in the patch context and introduce no new type hickups as far as I could see. Andreas