Limits< FP > Struct Template Reference

CPP API: mio::Limits< FP > Struct Template Reference
mio::Limits< FP > Struct Template Reference

Type specific limits for floating-points. More...

#include <config.h>

Static Public Member Functions

static constexpr FP zero_tolerance ()=delete
 

Detailed Description

template<typename FP>
struct mio::Limits< FP >

Type specific limits for floating-points.

Specializations are provided for float and double types. In order to use other floating point types, a new specialization for that type must be added.

Member functions of the unspecialized class are disabled. Using them results in compile time errors.

Template Parameters
FPA floating point type.

Member Function Documentation

◆ zero_tolerance()

template<typename FP >
static constexpr FP mio::Limits< FP >::zero_tolerance ( )
staticconstexprdelete