8sa1-gcc/libstdc++-v3/testsuite
Jonathan Wakely eb0ff770e2 libstdc++: Fix std::from_chars to ignore leading zeros in base 2
The parser for binary numbers returned an error if the entire string
contains more digits than the result type. Leading zeros should be
ignored.

libstdc++-v3/ChangeLog:

	* include/std/charconv (__from_chars_binary): Ignore leading zeros.
	* testsuite/20_util/from_chars/1.cc: Check "0x1" for all bases,
	not just 10 and 16.
	* testsuite/20_util/from_chars/3.cc: New test.
2020-06-24 12:35:59 +01:00
..
17_intro
18_support
19_diagnostics
20_util libstdc++: Fix std::from_chars to ignore leading zeros in base 2 2020-06-24 12:35:59 +01:00
21_strings
22_locale
23_containers libstdc++: Avoid stack overflow in std::vector (PR 94540) 2020-06-17 22:49:06 +01:00
24_iterators c++: Refinements to "more constrained". 2020-06-20 10:57:21 -04:00
25_algorithms
26_numerics
27_io
28_regex
29_atomics
30_threads
abi
backward
config
data
decimal
experimental
ext
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions
std
tr1
tr2
util
Makefile.am
Makefile.in libstdc++: Regenerate makefiles 2020-06-23 07:59:40 +01:00