CAPD DynSys Library  5.2.0
capd::TypeTraits< short > Struct Reference

Traits of type short. More...

#include <capd/basicalg/TypeTraits.h>

Public Types

typedef short Real
 

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

Traits of type short.

Member Typedef Documentation

◆ Real

typedef short capd::IntegralTypeTraits< short >::Real
inherited

Member Function Documentation

◆ abs()

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

◆ convert()

static short capd::IntegralTypeTraits< short >::convert ( const S &  obj)
inlinestaticinherited

◆ epsilon()

static short capd::IntegralTypeTraits< short >::epsilon
throw (
)
inlinestaticinherited

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

◆ isSingular()

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

◆ max()

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

◆ min()

static constexpr short capd::IntegralTypeTraits< short >::min ( short  a,
short  b 
)
inlinestaticconstexprnoexceptinherited

◆ numberOfDigits()

static int capd::IntegralTypeTraits< short >::numberOfDigits
throw (
)
inlinestaticinherited

number of decimal digits

◆ one()

static short capd::IntegralTypeTraits< short >::one
inlinestaticinherited

returns object set to one

◆ zero()

static short capd::IntegralTypeTraits< short >::zero
inlinestaticinherited

returns object set to zero

Member Data Documentation

◆ isInterval

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

this flag is true for all interval types