summaryrefslogtreecommitdiff
path: root/boost/math/special_functions/sign.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/special_functions/sign.hpp')
-rw-r--r--boost/math/special_functions/sign.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/math/special_functions/sign.hpp b/boost/math/special_functions/sign.hpp
index f5c562d..3324c90 100644
--- a/boost/math/special_functions/sign.hpp
+++ b/boost/math/special_functions/sign.hpp
@@ -56,11 +56,11 @@ namespace detail {
//
inline int signbit_impl(long double x, generic_tag<true> const&)
{
- return boost::math::signbit(static_cast<double>(x));
+ return (boost::math::signbit)(static_cast<double>(x));
}
inline int signbit_impl(long double x, generic_tag<false> const&)
{
- return boost::math::signbit(static_cast<double>(x));
+ return (boost::math::signbit)(static_cast<double>(x));
}
#endif