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 22
22
namespace boost ::math::ccmath {
23
23
24
24
template <typename T>
25
- constexpr bool isinf (T x) noexcept
25
+ constexpr bool ( isinf) (T x) noexcept
26
26
{
27
27
if (BOOST_MATH_IS_CONSTANT_EVALUATED (x))
28
28
{
@@ -41,11 +41,11 @@ constexpr bool isinf(T x) noexcept
41
41
42
42
if constexpr (!std::is_integral_v<T>)
43
43
{
44
- return isinf (x);
44
+ return ( isinf) (x);
45
45
}
46
46
else
47
47
{
48
- return isinf (static_cast <double >(x));
48
+ return ( isinf) (static_cast <double >(x));
49
49
}
50
50
}
51
51
}
Original file line number Diff line number Diff line change 21
21
namespace boost ::math::ccmath {
22
22
23
23
template <typename T>
24
- inline constexpr bool isnan (T x)
24
+ inline constexpr bool ( isnan) (T x)
25
25
{
26
26
if (BOOST_MATH_IS_CONSTANT_EVALUATED (x))
27
27
{
@@ -33,11 +33,11 @@ inline constexpr bool isnan(T x)
33
33
34
34
if constexpr (!std::is_integral_v<T>)
35
35
{
36
- return isnan (x);
36
+ return ( isnan) (x);
37
37
}
38
38
else
39
39
{
40
- return isnan (static_cast <double >(x));
40
+ return ( isnan) (static_cast <double >(x));
41
41
}
42
42
}
43
43
}
You can’t perform that action at this time.
0 commit comments