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

Traits of type long. More...

#include <capd/basicalg/TypeTraits.h>

Public Types

typedef long Real
 

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

Traits of type long.

Member Typedef Documentation

◆ Real

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

Member Function Documentation

◆ abs()

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

◆ convert()

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

◆ epsilon()

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

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

◆ isSingular()

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

◆ max()

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

◆ min()

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

◆ numberOfDigits()

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

number of decimal digits

◆ one()

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

returns object set to one

◆ zero()

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

returns object set to zero

Member Data Documentation

◆ isInterval

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

this flag is true for all interval types