![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cTypes.h>
Static Public Member Functions | |
template<typename TYPE > | |
static bool | IsNaN (TYPE a) noexcept |
template<typename TYPE > | |
static bool | IsInfinite (TYPE a) |
template<typename TYPE > | |
static bool | IsFinite (TYPE a) noexcept |
Basic operations for float/double type. See GrayLib::Calc class for complex operations. See GrayLib::cFloat32 or GrayLib::cFloat64 similar to _fpclass()
Is this a valid number? NOT Nan 'Not A Number' and NOT Infinite. NOT isIndeterminate() This makes no sense for integer types. like: std::isnormal()
Does a represent INFINITY? Positive or negative. ! IsFinite() but also !k_NaN ONLY applies to float, double. like: std::isinf()
Is this 'Not A Number'? NOT exactly !IsFinite(a) ONLY applies to float, double. like: std::isnan()