Merge c086f538e87b31c48fb2b6e1ed743e8141e3695c into e77e2bca7ec343bb10999b8438e69cd2185228d7

This commit is contained in:
Daniel Lemire 2025-10-15 09:59:04 +08:00 committed by GitHub
commit 74faadacd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1251,6 +1251,16 @@ constexpr chars_format adjust_for_feature_macros(chars_format fmt) {
;
}
} // namespace detail
#ifdef __STDCPP_FLOAT64_T__
template <>
struct binary_format<std::float64_t> : public binary_format<double> {};
#endif
#ifdef __STDCPP_FLOAT32_T__
template <>
struct binary_format<std::float32_t> : public binary_format<float> {};
#endif
} // namespace fast_float
#endif