Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::mcr_float< Float > Struct Template Reference

The mcr_float is like numeric_limits, but only for floating point types and only defines infinity() and epsilon(). More...

#include <howard_cycle_ratio.hpp>

Public Types

typedef Float value_type
 

Static Public Member Functions

static Float infinity ()
 
static Float epsilon ()
 

Detailed Description

template<typename Float = double>
struct boost::mcr_float< Float >

The mcr_float is like numeric_limits, but only for floating point types and only defines infinity() and epsilon().

This class is primarily used to encapsulate a less-precise epsilon than natively supported by the floating point type.

Member Typedef Documentation

template<typename Float = double>
typedef Float boost::mcr_float< Float >::value_type

Member Function Documentation

template<typename Float = double>
static Float boost::mcr_float< Float >::epsilon ( )
inlinestatic
template<typename Float = double>
static Float boost::mcr_float< Float >::infinity ( )
inlinestatic

The documentation for this struct was generated from the following file: