This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]