mirror of
https://github.com/boostorg/math.git
synced 2026-02-26 04:42:22 +00:00
fpclassify coverage.
This commit is contained in:
@@ -163,7 +163,7 @@ inline int fpclassify_imp BOOST_NO_MACRO_EXPAND(T t, const generic_tag<true>&)
|
||||
// whenever possible check for Nan's first:
|
||||
#if defined(BOOST_HAS_FPCLASSIFY) && !defined(BOOST_MATH_DISABLE_STD_FPCLASSIFY)
|
||||
if(::boost::math_detail::is_nan_helper(t, typename std::is_floating_point<T>::type()))
|
||||
return FP_NAN;
|
||||
return FP_NAN; // LCOV_EXCL_LINE only called in UDT contexts (excluded from coverage checks).
|
||||
#elif defined(isnan)
|
||||
if(boost::math_detail::is_nan_helper(t, typename std::is_floating_point<T>::type()))
|
||||
return FP_NAN;
|
||||
|
||||
Reference in New Issue
Block a user