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

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 28 13:26:46 PST 2024


ldionne wrote:

> 
> But that's exactly the same with _and_ without this patch?


I think we're talking past each other. I think that this patch is necessary regardless (except we wouldn't need the `_LIBCPP_LONG_DOUBLE_IS_DOUBLE` macro), and then

```
template __from_chars_result<long double> __from_chars_floating_point(
    _LIBCPP_NOESCAPE const char* __first, _LIBCPP_NOESCAPE const char* __last, chars_format __fmt);
```

is also necessary on top of that. Either way, I think we both agree that this patch doesn't buy us *much*.


@michaelrj-google Is there any plan to support `long double` in the foreseeable future? That would simplify everything.

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


More information about the libcxx-commits mailing list