public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work033)] Fix typo in IEEE 128-bit printing.
@ 2021-01-27 20:29 Michael Meissner
0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2021-01-27 20:29 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:811e0cf17b0f6d4e2fcce8a58dc07a46499fda10
commit 811e0cf17b0f6d4e2fcce8a58dc07a46499fda10
Author: Michael Meissner <meissner@linux.ibm.com>
Date: Wed Jan 27 15:28:31 2021 -0500
Fix typo in IEEE 128-bit printing.
2021-01-27 Michael Meissner <meissner@linux.ibm.com>
* 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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-27 20:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 20:29 [gcc(refs/users/meissner/heads/work033)] Fix typo in IEEE 128-bit printing Michael Meissner
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 read-only IMAP folder(s) and NNTP newsgroup(s).