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

Traits of type float. More...

#include <capd/basicalg/TypeTraits.h>

Public Types

typedef float Real
 

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

Traits of type float.

Member Typedef Documentation

◆ Real

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

Member Function Documentation

◆ abs()

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

◆ convert()

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

◆ epsilon()

static float capd::FloatingTypeTraits< float >::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< float >::isInf ( float  a)
inlinestaticconstexprnoexceptinherited

◆ isNaN()

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

◆ isSingular()

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

◆ max()

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

◆ min()

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

◆ numberOfDigits()

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

number of decimal digits

◆ one()

static float capd::FloatingTypeTraits< float >::one
inlinestaticinherited

returns object set to one

◆ zero()

static float capd::FloatingTypeTraits< float >::zero
inlinestaticinherited

returns object set to zero

Member Data Documentation

◆ isInterval

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

this flag is true for all interval types