CAPD::DynSys Library  6.0.0
capd::TypeTraits< double > Struct Reference

Traits of type double. More...

#include <capd/basicalg/TypeTraits.h>

Public Types

typedef double Real
 

Static Public Member Functions

static double zero ()
 returns object set to zero More...
 
static double one ()
 returns object set to one More...
 
static int numberOfDigits () throw ()
 number of decimal digits More...
 
static double epsilon () throw ()
 Machine epsilon (the difference between 1 and the least value greater than 1 that is representable). More...
 
static constexpr bool isInf (double a) noexcept
 
static constexpr bool isNaN (double 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...
 

Detailed Description

Traits of type double.

Member Typedef Documentation

◆ Real

typedef double capd::FloatingTypeTraits< double >::Real
inherited

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

static double capd::FloatingTypeTraits< double >::epsilon ( )
throw (
)
inlinestaticinherited

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

◆ isInf()

static constexpr bool capd::FloatingTypeTraits< double >::isInf ( double  a)
inlinestaticconstexprnoexceptinherited

◆ isNaN()

static constexpr bool capd::FloatingTypeTraits< double >::isNaN ( double  a)
inlinestaticconstexprnoexceptinherited

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

static int capd::FloatingTypeTraits< double >::numberOfDigits ( )
throw (
)
inlinestaticinherited

number of decimal digits

◆ one()

static double capd::FloatingTypeTraits< double >::one ( )
inlinestaticinherited

returns object set to one

◆ zero()

static double capd::FloatingTypeTraits< double >::zero ( )
inlinestaticinherited

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: