From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by sourceware.org (Postfix) with ESMTPS id 778E53858D39 for ; Thu, 10 Mar 2022 20:39:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 778E53858D39 Received: by mail-io1-xd33.google.com with SMTP id w7so7905707ioj.5 for ; Thu, 10 Mar 2022 12:39:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=vHInOwJ7dnwT7xMEJLyF+Pb+XPe3fG825PLKmxP9Y4g=; b=O3Hx4izNRngoqY18TomtDO+6ZNT63mUWpSWGzxu0n+N6XfzUKKfStv0fRmBfENJ0LJ oSUx7bSMQiQQC/4ceUcc323eUhu/byaSErBfmyOJzxB+x3IgngAe7Y8UqDwpmUBkr+uI 4csrrhdFGfqXD0MzJYDcOCDE6b6bc4ngQy1qw+jgKCbzvhFJb/lmRd8S68sNWO/OqJlm PY8jL5uXfJbh1A7yQstd2oL8XbyhyvSulVAyljscax54egkLGJD1/+dEI675imUAMkL4 NH9r5QwJbY7HtvcoAoyY9rrRxR0RaHOPqMCjgf2fuV0QboHMauEwyPD2Anzz9nOk9lZ/ f5xg== X-Gm-Message-State: AOAM530zOVyaCDox4fq1UT5wLuG3I/cg2VwKjwaCRJMkn0Zl96Xzo//v FsODcjWGrNFROHPzgoXt4n2EuQ== X-Google-Smtp-Source: ABdhPJxlVij8Ne+iRn6nzGKw4QQdNvh6T3W112xrSY+K55U1ZgCqyLhd1zdvAUIPqrj573OeEpUTkA== X-Received: by 2002:a02:a690:0:b0:319:aed8:5d3 with SMTP id j16-20020a02a690000000b00319aed805d3mr4874320jam.102.1646944779800; Thu, 10 Mar 2022 12:39:39 -0800 (PST) Received: from murgatroyd (75-166-141-253.hlrn.qwest.net. [75.166.141.253]) by smtp.gmail.com with ESMTPSA id g8-20020a056602248800b006409fb2cbccsm3044128ioe.32.2022.03.10.12.39.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 12:39:39 -0800 (PST) From: Tom Tromey To: Andreas Schwab Cc: Tom Tromey , Tom Tromey via Gdb-patches , Andrew Burgess 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> <87zgmovzr9.fsf@igel.home> <87czitogv6.fsf@tromey.com> <87ilslll94.fsf@igel.home> X-Attribution: Tom Date: Thu, 10 Mar 2022 13:39:39 -0700 In-Reply-To: <87ilslll94.fsf@igel.home> (Andreas Schwab's message of "Thu, 10 Mar 2022 19:23:35 +0100") Message-ID: <87r179mtis.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Thu, 10 Mar 2022 20:39:41 -0000 Andreas> How does that handle padding? >> I don't know, can you say more? Andreas> It is part of the underlying bytes. If you mean if there's a float format that doesn't use all the bits in the underlying bytes, then they'll just be printed along with everything else. Tom