CAPD DynSys Library  5.2.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
 
static double convert (const S &obj)
 
static constexpr double max (double a, double b) noexcept
 
static constexpr double min (double a, double b) noexcept
 
static constexpr double abs (double a) noexcept
 
static bool isSingular (double a)
 

Static Public Attributes

static const bool isInterval
 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()

static constexpr double capd::IntegralTypeTraits< double >::abs ( double  a)
inlinestaticconstexprnoexceptinherited

◆ convert()

static double capd::IntegralTypeTraits< double >::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()

static bool capd::IntegralTypeTraits< double >::isSingular ( double  a)
inlinestaticinherited

◆ max()

static constexpr double capd::IntegralTypeTraits< double >::max ( double  a,
double  b 
)
inlinestaticconstexprnoexceptinherited

◆ min()

static constexpr double capd::IntegralTypeTraits< double >::min ( double  a,
double  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

const bool capd::IntegralTypeTraits< double >::isInterval
staticinherited

this flag is true for all interval types