about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ieee128.c
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabrielftg@linux.ibm.com>2019-07-11 11:47:21 -0300
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>2019-11-22 18:13:20 -0300
commitb370c5f014031b2d06bc54a6436e31b46ed0bf43 (patch)
tree183d25f33a0a246158408afccd14f76be1f63695 /sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ieee128.c
parenta5b15bdec8015bac998f727d97667acfb17e90c0 (diff)
downloadglibc-b370c5f014031b2d06bc54a6436e31b46ed0bf43.tar.gz
glibc-b370c5f014031b2d06bc54a6436e31b46ed0bf43.tar.xz
glibc-b370c5f014031b2d06bc54a6436e31b46ed0bf43.zip
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>
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ieee128.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ieee128.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ieee128.c b/sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ieee128.c
new file mode 100644
index 0000000000..ef21fc4741
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ieee128.c
@@ -0,0 +1 @@
+#include <test-wscanf-ldbl-compat.c>