[PATCH v2 4/9] Refactor PRINT_FPHEX_LONG_DOUBLE into a reusable macro

Joseph Myers joseph@codesourcery.com
Tue Jun 6 17:10:00 GMT 2017


On Fri, 2 Jun 2017, Gabriel F. T. Gomes wrote:

> Changes since v1:
> 
>   - This patch is new in this series.
> 
> -- 8< --
> 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.
> 
> 2017-06-01  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

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list