[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:35 PST 2024


================
@@ -546,8 +548,8 @@ int __num_get<_CharT>::__stage2_float_loop(
     }
     return 0;
   }
-  ptrdiff_t __f = std::find(__atoms, __atoms + 32, __ct) - __atoms;
-  if (__f >= 32)
----------------
mordante wrote:

Why is this changed from 32 to 28. Please add the reason to the commit message too.

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


More information about the libcxx-commits mailing list