[libcxx-commits] [libc] [libcxx] [llvm] [libcxx][libc] Hand in Hand PoC with from_chars (PR #91651)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 25 09:28:37 PDT 2024


================
@@ -0,0 +1,1557 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14
+
+// XFAIL: availability-fp_from_chars-missing
+
+// from_chars_result from_chars(const char* first, const char* last,
+//                              Float& value, chars_format fmt = chars_format::general)
----------------
ldionne wrote:

```suggestion
// from_chars_result from_chars(const char* first, const char* last,
//                              float& value, chars_format fmt = chars_format::general)
//
// from_chars_result from_chars(const char* first, const char* last,
//                              double& value, chars_format fmt = chars_format::general)
```

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


More information about the libcxx-commits mailing list