CAPD::DynSys Library  6.0.0
capd::FloatingTypeTraits< T > Struct Template Reference

#include <capd/basicalg/TypeTraits.h>

Public Types

typedef T Real
 

Static Public Member Functions

static T zero ()
 returns object set to zero More...
 
static T one ()
 returns object set to one More...
 
static int numberOfDigits () throw ()
 number of decimal digits More...
 
static T epsilon () throw ()
 Machine epsilon (the difference between 1 and the least value greater than 1 that is representable). More...
 
static constexpr bool isInf (T a) noexcept
 
static constexpr bool isNaN (T a) noexcept
 
template<typename S >
static T convert (const S &obj)
 
static constexpr T max (T a, T b) noexcept
 
static constexpr T min (T a, T b) noexcept
 
static constexpr T abs (T a) noexcept
 
static bool isSingular (T a)
 

Static Public Attributes

static const bool isInterval = false
 this flag is true for all interval types More...
 

Member Typedef Documentation

◆ Real

template<typename T >
typedef T capd::FloatingTypeTraits< T >::Real

Member Function Documentation

◆ abs()

template<typename T >
static constexpr T capd::IntegralTypeTraits< T >::abs ( a)
inlinestaticconstexprnoexceptinherited

◆ convert()

template<typename T >
template<typename S >
static T capd::IntegralTypeTraits< T >::convert ( const S &  obj)
inlinestaticinherited

◆ epsilon()

template<typename T >
static T capd::FloatingTypeTraits< T >::epsilon ( )
throw (
)
inlinestatic

Machine epsilon (the difference between 1 and the least value greater than 1 that is representable).

◆ isInf()

template<typename T >
static constexpr bool capd::FloatingTypeTraits< T >::isInf ( a)
inlinestaticconstexprnoexcept

◆ isNaN()

template<typename T >
static constexpr bool capd::FloatingTypeTraits< T >::isNaN ( a)
inlinestaticconstexprnoexcept

◆ isSingular()

template<typename T >
static bool capd::IntegralTypeTraits< T >::isSingular ( a)
inlinestaticinherited

◆ max()

template<typename T >
static constexpr T capd::IntegralTypeTraits< T >::max ( a,
b 
)
inlinestaticconstexprnoexceptinherited

◆ min()

template<typename T >
static constexpr T capd::IntegralTypeTraits< T >::min ( a,
b 
)
inlinestaticconstexprnoexceptinherited

◆ numberOfDigits()

template<typename T >
static int capd::FloatingTypeTraits< T >::numberOfDigits ( )
throw (
)
inlinestatic

number of decimal digits

◆ one()

template<typename T >
static T capd::FloatingTypeTraits< T >::one ( )
inlinestatic

returns object set to one

◆ zero()

template<typename T >
static T capd::FloatingTypeTraits< T >::zero ( )
inlinestatic

returns object set to zero

Member Data Documentation

◆ isInterval

template<typename T >
const bool capd::IntegralTypeTraits< T >::isInterval = false
staticinherited

this flag is true for all interval types


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