diff options
author | Gabriel F. T. Gomes <gabrielftg@linux.ibm.com> | 2019-07-11 11:47:16 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabrielftg@linux.ibm.com> | 2019-11-22 18:13:01 -0300 |
commit | a5b15bdec8015bac998f727d97667acfb17e90c0 (patch) | |
tree | f95bcaf33cefad9142b66552e73b135b545cb018 /setjmp/setjmp.h | |
parent | c2f959ed5f244dd4130bcbaab53e0f3ffc49831e (diff) | |
download | glibc-a5b15bdec8015bac998f727d97667acfb17e90c0.zip glibc-a5b15bdec8015bac998f727d97667acfb17e90c0.tar.gz glibc-a5b15bdec8015bac998f727d97667acfb17e90c0.tar.bz2 |
ldbl-128ibm-compat: Add regular character scanning functions
The 'mode' argument to __vfscanf_internal allows the selection of the
long double format for all long double arguments requested by the format
string. Currently, there are two possibilities: long double with the
same format as double or long double as something else. The 'something
else' format varies between architectures, and on powerpc64le, it means
IBM Extended Precision format.
In preparation for the third option of long double format on
powerpc64le, this patch uses the new mode mask,
SCANF_LDBL_USES_FLOAT128, which tells __vfscanf_internal to call
__strtof128_internal, instead of __strtold_internal, and save the output
into a _Float128 variable.
Tested for powerpc64le.
Reviewed-By: Paul E. Murphy <murphyp@linux.ibm.com>
Diffstat (limited to 'setjmp/setjmp.h')
0 files changed, 0 insertions, 0 deletions