about summary refs log tree commit diff
path: root/locale/lc-telephone.c
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 /locale/lc-telephone.c
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 'locale/lc-telephone.c')
0 files changed, 0 insertions, 0 deletions