glibc/sysdeps/ieee754/ldbl-128ibm-compat
Gabriel F. T. Gomes a5b15bdec8 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>
2019-11-22 18:13:01 -03:00
..
ieee128-asprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-asprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-dprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-dprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-fprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-fprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-fscanf.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
ieee128-fwprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-fwprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-printf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-printf_size.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ieee128-printf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-scanf.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
ieee128-snprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-snprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-sprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-sprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-sscanf.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
ieee128-swprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-swprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-vasprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vasprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vdprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vdprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vfprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vfprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vfscanf.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
ieee128-vfwprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-vfwprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-vprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vscanf.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
ieee128-vsnprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vsnprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vsprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vsprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vsscanf.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
ieee128-vswprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-vswprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-vwprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-vwprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-wprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-wprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
libm-alias-float128.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makefile ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
strfromf128.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strtof128_l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strtof128.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-printf-chk-ibm128.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
test-printf-chk-ieee128.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
test-printf-chk-ldbl-compat.c ldbl-128ibm-compat: Test positional arguments 2019-11-22 18:12:54 -03:00
test-printf-chk-redir-ibm128.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
test-printf-chk-redir-ieee128.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
test-printf-ibm128.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
test-printf-ieee128.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
test-printf-ldbl-compat.c ldbl-128ibm-compat: Test positional arguments 2019-11-22 18:12:54 -03:00
test-printf-size-ibm128.c ldbl-128ibm-compat: Add printf_size 2018-07-02 10:51:01 -03:00
test-printf-size-ieee128.c ldbl-128ibm-compat: Add printf_size 2018-07-02 10:51:01 -03:00
test-scanf-ibm128.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
test-scanf-ieee128.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
test-scanf-ldbl-compat-template.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
test-scanf-ldbl-compat.c ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
test-scanf-ldbl-compat.sh ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
test-wprintf-chk-ibm128.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
test-wprintf-chk-ieee128.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
test-wprintf-chk-ldbl-compat.c ldbl-128ibm-compat: Test positional arguments 2019-11-22 18:12:54 -03:00
test-wprintf-chk-redir-ibm128.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
test-wprintf-chk-redir-ieee128.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
test-wprintf-ibm128.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
test-wprintf-ieee128.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
test-wprintf-ldbl-compat.c ldbl-128ibm-compat: Test positional arguments 2019-11-22 18:12:54 -03:00
Versions ldbl-128ibm-compat: Add regular character scanning functions 2019-11-22 18:13:01 -03:00
wcstof128_l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
wcstof128.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00