From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
Aurelien Jarno <aurelien@aurel32.net>,
Nathan Froyd <froydnj@codesourcery.com>
Subject: Re: [Qemu-devel] [PATCH V2] softfloat: Rename float*_is_nan() functions to float*_is_quiet_nan()
Date: Sat, 1 Jan 2011 23:46:16 +0000 [thread overview]
Message-ID: <AANLkTi=xQtNywQftT1kDGZROBppQ+P67yKrS5a1ZFkgi@mail.gmail.com> (raw)
In-Reply-To: <1292601366-990-1-git-send-email-peter.maydell@linaro.org>
On 17 December 2010 15:56, Peter Maydell <peter.maydell@linaro.org> 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 <peter.maydell@linaro.org>
> Reviewed-by: Nathan Froyd <froydnj@codesourcery.com>
> Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
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? (cc'd Aurelien since you seem to be
committing various missed patches at the moment :-))
thanks
-- PMM
next prev parent reply other threads:[~2011-01-01 23:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-17 15:56 [Qemu-devel] [PATCH V2] softfloat: Rename float*_is_nan() functions to float*_is_quiet_nan() Peter Maydell
2010-12-17 16:19 ` Andreas Färber
2010-12-17 16:48 ` Peter Maydell
2010-12-17 17:54 ` Andreas Färber
2010-12-17 23:32 ` Peter Maydell
2010-12-18 2:30 ` Nathan Froyd
2010-12-18 10:39 ` Peter Maydell
2010-12-18 11:49 ` Andreas Färber
2010-12-18 12:15 ` Peter Maydell
2010-12-18 12:31 ` Andreas Färber
2010-12-18 16:41 ` Andreas Färber
2010-12-18 17:55 ` malc
2010-12-18 13:07 ` Nathan Froyd
2011-01-01 23:46 ` Peter Maydell [this message]
2011-01-02 0:35 ` Andreas Färber
2011-01-02 10:31 ` Aurelien Jarno
2011-01-02 11:12 ` Peter Maydell
2011-01-02 11:56 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=xQtNywQftT1kDGZROBppQ+P67yKrS5a1ZFkgi@mail.gmail.com' \
--to=peter.maydell@linaro.org \
--cc=aurelien@aurel32.net \
--cc=edgar.iglesias@gmail.com \
--cc=froydnj@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).