This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC PATCH v2 2/3] ldbl-128ibm-compat: Use __vfprintf_internal for ieee128-vfprintf on powerpc64le
On Tue, 05 Jun 2018, Gabriel F. T. Gomes wrote:
>In preparation for the third option of long double format on
>powerpc64le, this patch adds a new mode mask, PRINTF_LDBL_USES_IEEE128,
>and code to correctly parse floating-point values from the variable
>arguments.
Argh, this comment is only relevant to the first patch in this set. I
rewrote the whole paragraph as:
In preparation for the third option of long double format on
powerpc64le, this patch uses the new mode mask, PRINTF_LDBL_USES_FLOAT128,
which tells __vfprintf_internal to save the floating-point values into
variables of type __float128 and adjusts the parameters to __printf_fp
and __printf_fphex as if it was a call from strfromf128.