mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 08:46:49 +08:00
Merge c086f538e87b31c48fb2b6e1ed743e8141e3695c into f8c573d7419ab08de382c60005e37caa271e869a
This commit is contained in:
commit
5f7e0d599b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user