diff options
author | Gabriel F. T. Gomes <gabrielftg@linux.ibm.com> | 2019-07-11 11:47:21 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabrielftg@linux.ibm.com> | 2019-11-22 18:13:20 -0300 |
commit | b370c5f014031b2d06bc54a6436e31b46ed0bf43 (patch) | |
tree | 183d25f33a0a246158408afccd14f76be1f63695 /sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ibm128.c | |
parent | a5b15bdec8015bac998f727d97667acfb17e90c0 (diff) | |
download | glibc-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-ibm128.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ibm128.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ibm128.c b/sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ibm128.c new file mode 100644 index 0000000000..ef21fc4741 --- /dev/null +++ b/sysdeps/ieee754/ldbl-128ibm-compat/test-wscanf-ibm128.c @@ -0,0 +1 @@ +#include <test-wscanf-ldbl-compat.c> |