File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545# include < cstdio>
4646#endif
4747
48- #if __has_include(<stdfloat>)
49- # include < stdfloat>
48+ #if defined __has_include
49+ # if __cplusplus > 202002L || _MSVC_LANG > 202002L
50+ # if __has_include (<stdfloat>)
51+ # include < stdfloat>
52+ # endif
53+ # endif
5054#endif
5155
5256namespace boost { namespace math {
Original file line number Diff line number Diff line change 152152 // libstdc++3 only defines to/from_chars for std::float128_t when one of these defines are set
153153 // otherwise we're right out of luck...
154154# if defined(_GLIBCXX_LDOUBLE_IS_IEEE_BINARY128) || defined(_GLIBCXX_HAVE_FLOAT128_MATH)
155- # include < cstring> // std::strlen is used with from_chars
156- # include < charconv>
157- # include < stdfloat>
158- # define BOOST_MATH_USE_CHARCONV_FOR_CONVERSION
159- #endif
155+ # include < cstring> // std::strlen is used with from_chars
156+ # include < charconv>
157+ # include < stdfloat>
158+ # define BOOST_MATH_USE_CHARCONV_FOR_CONVERSION
159+ # endif
160160# endif
161161#endif
162162
Original file line number Diff line number Diff line change 2727#include < type_traits>
2828
2929#if defined __has_include
30- # if __has_include (<stdfloat>)
30+ # if __cplusplus > 202002L || _MSVC_LANG > 202002L
31+ # if __has_include (<stdfloat>)
3132# include < stdfloat>
33+ # endif
3234# endif
3335#endif
3436
You can’t perform that action at this time.
0 commit comments