diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-06-02 16:03:40 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-06-07 17:06:31 -0300 |
commit | 2bc646c9e95b7c0005b2bc09c06671ffbb509629 (patch) | |
tree | 7abac320e7add1e31b5759ecc8003b32fadfa071 /stdlib/fpioconst.h | |
parent | aab0f374e7c43f6baf88db271865feabb7bcc1b2 (diff) | |
download | glibc-2bc646c9e95b7c0005b2bc09c06671ffbb509629.zip glibc-2bc646c9e95b7c0005b2bc09c06671ffbb509629.tar.gz glibc-2bc646c9e95b7c0005b2bc09c06671ffbb509629.tar.bz2 |
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/fpioconst.h')
0 files changed, 0 insertions, 0 deletions