From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Hb/9KGjRD2KUFwAAWB0awg (envelope-from ) for ; Fri, 18 Feb 2022 12:03:36 -0500 Received: by simark.ca (Postfix, from userid 112) id 92B881F3C9; Fri, 18 Feb 2022 12:03:36 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2BD291EE1F for ; Fri, 18 Feb 2022 12:03:36 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9431E385E83F for ; Fri, 18 Feb 2022 17:03:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9431E385E83F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1645203815; bh=CpyUgSJvvqeZmKrrMWizIUOcAQFF8QOgG5z0ch8BqMo=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=RFu0Wj/4EvKa9owH6zbD1Nkbemqi+4I0U6Wc8ithIuzWpuYVRPJaOxGrpRFNmALtT Q1WH/dZyOzUt8MOCOdm3jM6uh9iC7rk/2onaMF6M72TPp5iJYrNJRWCL3naLrxFblq U67x2vfa03QJMRUFwsm8mNtlGVPkKyLhG+t8/VYA= Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by sourceware.org (Postfix) with ESMTPS id 0E6DA385842F for ; Fri, 18 Feb 2022 17:03:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0E6DA385842F Received: from [2001:470:142:3::e] (port=45834 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL6eh-0001Hx-UW; Fri, 18 Feb 2022 12:03:07 -0500 Received: from [87.69.77.57] (port=4896 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL6ee-0000Wl-AH; Fri, 18 Feb 2022 12:02:51 -0500 Date: Fri, 18 Feb 2022 19:02:44 +0200 Message-Id: <83v8xcyuob.fsf@gnu.org> To: Tom Tromey In-Reply-To: <87k0dsqg47.fsf@tromey.com> (message from Tom Tromey via Gdb-patches on Fri, 18 Feb 2022 09:44:24 -0700) Subject: Re: [PATCH] Change how "print/x" displays floating-point value References: <20220217212957.1747537-1-tromey@adacore.com> <874k4xdqwl.fsf@redhat.com> <87k0dsqg47.fsf@tromey.com> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: aburgess@redhat.com, gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Fri, 18 Feb 2022 09:44:24 -0700 > From: Tom Tromey via Gdb-patches > Cc: Tom Tromey , > Tom Tromey via Gdb-patches > > Let me know what you think of this. > > Tom > > commit bb4117440a91bff97483eaab4d12543c9663de09 > Author: Tom Tromey > Date: Thu Feb 17 13:43:59 2022 -0700 Thanks. I find the documentation confusing: > @item d > -Print as integer in signed decimal. > +Regard the bits of the value as an integer, and print the integer in > +decimal. What does it mean to "regard the bits of the value as an integer" when the actual value is not an integer, but, say, a C 'double'? I don't think I understand what to expect from that, by just reading this description. Would it be possible to have a more clear text?