Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cTypeFloat Struct Reference

#include <cTypes.h>

Inheritance diagram for Gray::cTypeFloat:
GrayLib::Calc

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
 

Detailed Description

Basic operations for float/double type. See GrayLib::Calc class for complex operations. See GrayLib::cFloat32 or GrayLib::cFloat64 similar to _fpclass()

Member Function Documentation

◆ IsFinite()

template<typename TYPE >
static bool Gray::cTypeFloat::IsFinite ( TYPE  a)
inlinestaticnoexcept

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()

◆ IsInfinite()

template<typename TYPE >
static bool Gray::cTypeFloat::IsInfinite ( TYPE  a)
inlinestatic

Does a represent INFINITY? Positive or negative. ! IsFinite() but also !k_NaN ONLY applies to float, double. like: std::isinf()

◆ IsNaN()

template<typename TYPE >
static bool Gray::cTypeFloat::IsNaN ( TYPE  a)
inlinestaticnoexcept

Is this 'Not A Number'? NOT exactly !IsFinite(a) ONLY applies to float, double. like: std::isnan()


The documentation for this struct was generated from the following file: