ldbl-128ibm-compat: Add wide character scanning functions
authorGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Thu, 11 Jul 2019 14:47:21 +0000 (11:47 -0300)
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Fri, 22 Nov 2019 21:13:20 +0000 (18:13 -0300)
commitb370c5f014031b2d06bc54a6436e31b46ed0bf43
tree183d25f33a0a246158408afccd14f76be1f63695
parenta5b15bdec8015bac998f727d97667acfb17e90c0
ldbl-128ibm-compat: Add wide character scanning functions

Similarly to what was done for regular character scanning functions,
this patch uses the new mode mask, SCANF_LDBL_USES_FLOAT128, in the
'mode' argument of the wide characters scanning function,
__vfwscanf_internal (which is also extended to support scanning
floating-point values with IEEE binary128, by redirecting calls to
__wcstold_internal to __wcstof128_internal).

Tested for powerpc64le.

Reviewed-By: Paul E. Murphy <murphyp@linux.ibm.com>
sysdeps/ieee754/ldbl-128ibm-compat/Makefile
sysdeps/ieee754/ldbl-128ibm-compat/Versions
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-fwscanf.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-swscanf.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vfwscanf.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vswscanf.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vwscanf.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-wscanf.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ibm128.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ieee128.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ldbl-compat.c [new file with mode: 0644]