Template Function holoscan::is_almost_one
Defined in File types.hpp
-
template<typename K>
bool holoscan::is_almost_one(K value) Check if a value is almost one within numerical precision.
- Template Parameters
K – Scalar type.
- Parameters
value – Value to check.
- Returns
True if the value is within 100 * epsilon of one.