File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
include/boost/math/ccmath Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2222namespace boost ::math::ccmath {
2323
2424template <typename T>
25- constexpr bool isinf (T x) noexcept
25+ constexpr bool ( isinf) (T x) noexcept
2626{
2727 if (BOOST_MATH_IS_CONSTANT_EVALUATED (x))
2828 {
@@ -41,11 +41,11 @@ constexpr bool isinf(T x) noexcept
4141
4242 if constexpr (!std::is_integral_v<T>)
4343 {
44- return isinf (x);
44+ return ( isinf) (x);
4545 }
4646 else
4747 {
48- return isinf (static_cast <double >(x));
48+ return ( isinf) (static_cast <double >(x));
4949 }
5050 }
5151}
Original file line number Diff line number Diff line change 2121namespace boost ::math::ccmath {
2222
2323template <typename T>
24- inline constexpr bool isnan (T x)
24+ inline constexpr bool ( isnan) (T x)
2525{
2626 if (BOOST_MATH_IS_CONSTANT_EVALUATED (x))
2727 {
@@ -33,11 +33,11 @@ inline constexpr bool isnan(T x)
3333
3434 if constexpr (!std::is_integral_v<T>)
3535 {
36- return isnan (x);
36+ return ( isnan) (x);
3737 }
3838 else
3939 {
40- return isnan (static_cast <double >(x));
40+ return ( isnan) (static_cast <double >(x));
4141 }
4242 }
4343}
You can’t perform that action at this time.
0 commit comments