[libcxx-commits] [libcxx] [libc++] LWG2381: Inconsistency in parsing floating point numbers (PR #77948)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Apr 7 10:12:04 PDT 2024
================
@@ -366,9 +366,11 @@ _LIBCPP_HIDE_FROM_ABI _ForwardIterator __scan_keyword(
struct _LIBCPP_EXPORTED_FROM_ABI __num_get_base {
static const int __num_get_buf_sz = 40;
+ static const size_t __int_chr_cnt = 26; // count of leading characters in __src used for parsing integers
+ static const size_t __fp_chr_cnt = 28; // count of leading characters in __src used for parsing floating-point values
----------------
frederick-vs-ja wrote:
Done. (Although the current formatting for `__fp_chr_cnt` is a bit ugly due to the long comment...)
https://github.com/llvm/llvm-project/pull/77948
More information about the libcxx-commits
mailing list