mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
Merge c086f538e87b31c48fb2b6e1ed743e8141e3695c into e77e2bca7ec343bb10999b8438e69cd2185228d7
This commit is contained in:
commit
74faadacd2
@ -1251,6 +1251,16 @@ constexpr chars_format adjust_for_feature_macros(chars_format fmt) {
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
} // namespace detail
|
} // 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
|
} // namespace fast_float
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user