Class MHO_CheckForNaN.
More...
#include <MHO_CheckForNaN.hh>
|
static bool | isnan (const XNumericalType &value) |
| Checks if a numerical value is NaN by comparing it to itself. note that this primitive (X != X) comparison will not detect "INF" (only NAN) More...
|
|
template<typename XNumericalType>
class hops::MHO_CheckForNaN< XNumericalType >
Class MHO_CheckForNaN.
◆ MHO_CheckForNaN()
template<typename XNumericalType >
◆ ~MHO_CheckForNaN()
template<typename XNumericalType >
◆ isnan()
template<typename XNumericalType >
Checks if a numerical value is NaN by comparing it to itself. note that this primitive (X != X) comparison will not detect "INF" (only NAN)
- Parameters
-
value | Input value of type XNumericalType& to check for NaN. |
- Returns
- True if value is NaN, false otherwise.
- Note
- This is a static function.
The documentation for this class was generated from the following file: