[libcxx-commits] [libcxx] [libc++] Complete `<charconv>` for 64-bit `long double` platforms (PR #117125)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 28 11:51:13 PST 2024


philnik777 wrote:

> IMO what this patch is buying us is mostly front-loading of work we'll have to do when we can truly support `long double`, which will now be simplified cause we only need to plug in the missing bits.

Does it? AFAICT we'll just have to add
```
template __from_chars_result<long double> __from_chars_floating_point(
    _LIBCPP_NOESCAPE const char* __first, _LIBCPP_NOESCAPE const char* __last, chars_format __fmt);
```
to the dylib as well as a corresponding declaration once the LLVM libc supports `long double`s.


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


More information about the libcxx-commits mailing list