From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id 9154D396EC54; Wed, 27 Jan 2021 20:29:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9154D396EC54 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Michael Meissner To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/work033)] Fix typo in IEEE 128-bit printing. X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/work033 X-Git-Oldrev: 02b04aed77130f2ec9156d2f7ff89d4cc6b5a78b X-Git-Newrev: 811e0cf17b0f6d4e2fcce8a58dc07a46499fda10 Message-Id: <20210127202919.9154D396EC54@sourceware.org> Date: Wed, 27 Jan 2021 20:29:19 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2021 20:29:19 -0000 https://gcc.gnu.org/g:811e0cf17b0f6d4e2fcce8a58dc07a46499fda10 commit 811e0cf17b0f6d4e2fcce8a58dc07a46499fda10 Author: Michael Meissner Date: Wed Jan 27 15:28:31 2021 -0500 Fix typo in IEEE 128-bit printing. 2021-01-27 Michael Meissner * dfp-bit.h (BFP_FMT): If we are targeting IEEE 128-bit floating point use "%.36Le" for the format string. Diff: --- libgcc/dfp-bit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/dfp-bit.h b/libgcc/dfp-bit.h index e33bc22f7cc..5e3bfa65ab8 100644 --- a/libgcc/dfp-bit.h +++ b/libgcc/dfp-bit.h @@ -296,7 +296,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #elif BFP_KIND == 5 #define BFP_TYPE _Float128 -#define BFP_FMT "%.21Le" +#define BFP_FMT "%.36Le" #define BFP_VIA_TYPE _Float128 #define STR_TO_BFP __strtokf #include <_strtokf.h>