about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-06-02 16:03:40 -0300
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-06-07 17:06:31 -0300
commit2bc646c9e95b7c0005b2bc09c06671ffbb509629 (patch)
tree7abac320e7add1e31b5759ecc8003b32fadfa071 /ChangeLog
parentaab0f374e7c43f6baf88db271865feabb7bcc1b2 (diff)
downloadglibc-2bc646c9e95b7c0005b2bc09c06671ffbb509629.tar.gz
glibc-2bc646c9e95b7c0005b2bc09c06671ffbb509629.tar.xz
glibc-2bc646c9e95b7c0005b2bc09c06671ffbb509629.zip
Refactor PRINT_FPHEX_LONG_DOUBLE into a reusable macro
This patch refactors the macro PRINT_FPHEX_LONG_DOUBLE from the file
sysdeps/ieee754/ldbl-128/printf_fphex.c into a function-like macro to
enable its use for both long double and _Float128, when they are
ABI-distinct.

	* sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
	ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
	(PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
	* sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
	(PRINT_FPHEX): New function-like macro that can be used for long
	double, as well as for _Float128
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 429fe418da..9d033b5aab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
 
+	* sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
+	ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
+	(PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
+	* sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
+	(PRINT_FPHEX): New function-like macro that can be used for long
+	double, as well as for _Float128
+
+2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
 	* stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
 	(__printf_fp_l): Use the new macro to avoid duplicating code.
 	* stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.