Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions include/fast_float/float_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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