From: Eli Zaretskii via Gdb-patches <gdb-patches@sourceware.org>
To: Tom Tromey <tromey@adacore.com>
Cc: aburgess@redhat.com, gdb-patches@sourceware.org
Subject: Re: [PATCH] Change how "print/x" displays floating-point value
Date: Thu, 10 Mar 2022 19:54:05 +0200 [thread overview]
Message-ID: <831qz9els2.fsf@gnu.org> (raw)
In-Reply-To: <87h785ogzq.fsf@tromey.com> (message from Tom Tromey on Thu, 10 Mar 2022 10:27:21 -0700)
> From: Tom Tromey <tromey@adacore.com>
> Cc: Tom Tromey <tromey@adacore.com>, aburgess@redhat.com,
> gdb-patches@sourceware.org
> Date: Thu, 10 Mar 2022 10:27:21 -0700
>
> The meaning of it is to take the bytes that constitute the
> floating-point value, then print those as if they constituted an integer
> value with the same number of bytes. That is, it shows the raw bytes of
> the floating-point value.
>
> Would it be more clear to say
>
> Print the underlying bytes of the value as if they were an integer?
Yes. I think I would even lose the "as if they were an integer" part.
Or maybe something like this:
Print the binary representation of the value in decimal.
next prev parent reply other threads:[~2022-03-10 17:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 21:29 Tom Tromey via Gdb-patches
2022-02-17 23:17 ` Andrew Burgess via Gdb-patches
2022-02-18 16:44 ` Tom Tromey via Gdb-patches
2022-02-18 17:02 ` Eli Zaretskii via Gdb-patches
2022-03-10 17:27 ` Tom Tromey via Gdb-patches
2022-03-10 17:54 ` Eli Zaretskii via Gdb-patches [this message]
2022-03-10 19:19 ` Tom Tromey via Gdb-patches
2022-02-18 17:41 ` Andreas Schwab
2022-02-19 10:05 ` Andrew Burgess via Gdb-patches
2022-03-10 17:30 ` Tom Tromey via Gdb-patches
2022-03-10 17:30 ` Tom Tromey via Gdb-patches
2022-03-10 18:23 ` Andreas Schwab
2022-03-10 20:39 ` Tom Tromey via Gdb-patches
2022-03-10 20:53 ` Andreas Schwab
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=831qz9els2.fsf@gnu.org \
--to=gdb-patches@sourceware.org \
--cc=aburgess@redhat.com \
--cc=eliz@gnu.org \
--cc=tromey@adacore.com \
/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