glibc/wcsmbs
Paul E. Murphy 45f39d4588 float128: Add strtof128, wcstof128, and related functions.
The implementations are contained with sysdeps/ieee754/float128 as
they are only built when _Float128 is enabled within libc/m.

	* include/gmp.h (__mpn_construct_float128): New declaration.
	* include/stdlib.h: Include bits/floatn.h for _Float128 tests.
	(__strtof128_l): New declaration.
	(__strtof128_nan): Likewise.
	(__wcstof128_nan): Likewise.
	(__strtof128_internal): Likewise.
	(____strtof128_l_internal): Likewise.
	* include/wchar.h: Include bits/floatn.h for _Float128 tests.
	(__wcstof128_l): New declaration.
	(__wcstof128_internal): Likewise.

	* stdlib/Makefile (bug-strtod2): Link libm too.

	* stdlib/stdlib.h (strtof128): New declaration.
	(strtof128_l): Likewise.

	* stdlib/tst-strtod-nan-locale-main.c: Updated to use
	tst-strtod.h macros to ensure float128 gets tested too.

	* stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.

	* stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
	tests.
	(IF_FLOAT128): New macro.
	(GEN_TEST_STRTOD): Update to optionally include _Float128 in
	the tests.
	(STRTOD_TEST_FOREACH): Likewise.

	* sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
	wcstof128 functions into libc.

	* sysdeps/ieee754/float128/Versions: Add exports for the above
	new functions.

	* sysdeps/ieee754/float128/mpn2float128.c: New file.
	* sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
	* sysdeps/ieee754/float128/strtof128.c: New file.
	* sysdeps/ieee754/float128/strtof128_l.c: New file.
	* sysdeps/ieee754/float128/strtof128_nan.c: New file.
	* sysdeps/ieee754/float128/wcstof128.c: New file.
	* sysdeps/ieee754/float128/wcstof128_l.c: New file.
	* sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
	* wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
	(CFLAGS-wcstof128_l): Likewise.

	* wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
	(wcstof128): New declaration.
	(wcstof128_l): Likewise.
2017-06-12 14:48:53 -03:00
..
bits Remove __need macros from stdio.h and wchar.h. 2017-06-08 13:58:17 -04:00
Depend
Makefile float128: Add strtof128, wcstof128, and related functions. 2017-06-12 14:48:53 -03:00
Versions Do not use wildcard symbol names for public versions in Versions files. 2017-04-20 20:35:21 +00:00
btowc.c
c16rtomb.c
isoc99_fwscanf.c
isoc99_swscanf.c
isoc99_vfwscanf.c
isoc99_vswscanf.c
isoc99_vwscanf.c
isoc99_wscanf.c
mbrlen.c
mbrtoc16.c
mbrtowc.c
mbsinit.c
mbsnrtowcs.c
mbsrtowcs.c
mbsrtowcs_l.c
test-wcpcpy.c
test-wcpncpy.c
test-wcscat.c
test-wcschr.c
test-wcschrnul.c
test-wcscmp.c
test-wcscpy.c
test-wcscspn.c
test-wcslen.c
test-wcsncat.c
test-wcsncmp.c
test-wcsncpy.c
test-wcsnlen.c
test-wcspbrk.c
test-wcsrchr.c
test-wcsspn.c
test-wmemchr.c
test-wmemcmp.c
test-wmemset.c
tst-btowc.c Update wcsmbs tests to use the support test driver 2017-04-04 18:05:20 -03:00
tst-c16c32-1.c
tst-mbrtowc.c
tst-mbrtowc2.c Update wcsmbs tests to use the support test driver 2017-04-04 18:05:20 -03:00
tst-mbsrtowcs.c Update wcsmbs tests to use the support test driver 2017-04-04 18:05:20 -03:00
tst-wchar-h.c Update wcsmbs tests to use the support test driver 2017-04-04 18:05:20 -03:00
tst-wcpncpy.c Update wcsmbs tests to use the support test driver 2017-04-04 18:05:20 -03:00
tst-wcrtomb.c Update wcsmbs tests to use the support test driver 2017-04-04 18:05:20 -03:00
tst-wcsnlen.c Update wcsmbs tests to use the support test driver 2017-04-04 18:05:20 -03:00
tst-wcstod-nan-locale.c
tst-wcstod-round.c
tst-wcstof.c Update wcsmbs tests to use the support test driver 2017-04-04 18:05:20 -03:00
tst-wcstol-locale.c
uchar.h Remove __need macros from stdio.h and wchar.h. 2017-06-08 13:58:17 -04:00
wchar.h float128: Add strtof128, wcstof128, and related functions. 2017-06-12 14:48:53 -03:00
wcpcpy.c
wcpncpy.c
wcrtomb.c
wcsatcliff.c
wcscasecmp.c
wcscasecmp_l.c
wcscat.c
wcschr.c
wcschrnul.c
wcscmp.c
wcscoll.c
wcscoll_l.c
wcscpy.c
wcscspn.c
wcsdup.c
wcslen.c
wcsmbs-tst1.c
wcsmbsload.c
wcsmbsload.h
wcsncase.c
wcsncase_l.c
wcsncat.c
wcsncmp.c
wcsncpy.c
wcsnlen.c
wcsnrtombs.c
wcspbrk.c
wcsrchr.c
wcsrtombs.c
wcsspn.c
wcsstr.c
wcstod.c
wcstod_l.c
wcstod_nan.c
wcstof.c
wcstof_l.c
wcstof_nan.c
wcstok.c
wcstol.c
wcstol_l.c
wcstold.c
wcstold_l.c
wcstold_nan.c
wcstoll.c
wcstoll_l.c
wcstoul.c
wcstoul_l.c
wcstoull.c
wcstoull_l.c
wcswidth.c
wcsxfrm.c
wcsxfrm_l.c
wctob.c
wcwidth.c
wcwidth.h
wmemchr.c
wmemcmp.c
wmemcpy.c
wmemmove.c
wmempcpy.c
wmemset.c