[libc-commits] [libc] [libc] Add strtof128 stdlib entrypoint. (PR #243955)

Alex Strelnikov via libc-commits libc-commits at lists.llvm.org
Thu Nov 19 07:51:31 PST 2026


strel-12 wrote:

@lntue Per our conversation yesterday, switched the implementation to use `fputil::Float128`.

FYI I needed to add a factory function to `Float128` to construct a value using the exact bits to use in the `ClingerConsts`. The test runners with gcc-7 and gcc-8 complained that the `Float128(double)` constructor was not actually `constexpr`. It looks like one of the paths hits into a function that is conditionally `constexpr` via `LIBC_BIT_CAST_CONSTEXPR`.

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


More information about the libc-commits mailing list