[libcxx-commits] [libcxx] [libc++] LWG2381: Inconsistency in parsing floating point numbers (PR #77948)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 12 09:34:34 PST 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;
+  static const size_t __fp_chr_cnt  = 28;
----------------
mordante wrote:

Thanks for removing magic numbers, can you add some comment what these values are use for?

https://github.com/llvm/llvm-project/pull/77948


More information about the libcxx-commits mailing list