mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
Merge c086f538e87b31c48fb2b6e1ed743e8141e3695c into 7b21183a93c4a8943a2d384f207537d7330547e1
This commit is contained in:
commit
a3e64e1259
@ -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