diff options
author | 2017-06-02 16:03:40 -0300 | |
---|---|---|
committer | 2017-06-07 17:06:31 -0300 | |
commit | 2bc646c9e95b7c0005b2bc09c06671ffbb509629 (patch) | |
tree | 7abac320e7add1e31b5759ecc8003b32fadfa071 /stdlib/stdlib.h | |
parent | Remove duplicated code from __printf_fp_l, __printf_fphex, and __printf_size (diff) | |
download | 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 'stdlib/stdlib.h')
0 files changed, 0 insertions, 0 deletions