STK++ 0.9.13
Arithmetic properties.

These classes extend the numeric_limits C++ struct. More...

Collaboration diagram for Arithmetic properties.:

Classes

struct  STK::Arithmetic< Type >
 Arithmetic properties of STK fundamental types. More...
 
struct  STK::Arithmetic< Binary >
 Specialization for Binary. More...
 
struct  STK::Arithmetic< Char >
 Specialization of the struct Arithmetic for Char. More...
 
struct  STK::Arithmetic< Integer >
 Specialization for Integer (long). More...
 
struct  STK::Arithmetic< TRange< Size_ > >
 Partial Specialization for TRange. More...
 
struct  STK::Arithmetic< Real >
 Specialization for Real. More...
 
struct  STK::Arithmetic< Sign >
 Specialization for Sign. More...
 
struct  STK::Arithmetic< String >
 Specialization for String. More...
 

Functions

template<class Type >
bool STK::isNA (Type const &x)
 utility method allowing to know if a value is a NA (Not Available) value
 
template<class Type >
bool STK::isFinite (Type const &x)
 utility method allowing to know if a value is a finite value
 
template<class Type >
bool STK::isInfinite (Type const &x)
 utility method allowing to know if a value is an infinite value
 

Detailed Description

These classes extend the numeric_limits C++ struct.

They allow to handle in a transparent way a possible Not Available (NA) value in the data.

Function Documentation

◆ isFinite()

template<class Type >
bool STK::isFinite ( Type const x)

◆ isInfinite()

template<class Type >
bool STK::isInfinite ( Type const x)

utility method allowing to know if a value is an infinite value

Definition at line 224 of file STK_Arithmetic.h.

224{ return Arithmetic<Type>::isInfinite(x);}

References STK::Arithmetic< Type >::isInfinite().

◆ isNA()

template<class Type >
bool STK::isNA ( Type const x)