solver  1.0
Variables
NumericConstants.h File Reference

The file defines allowed inaccuracies in a solution and constants for floats. More...

#include <cmath>
#include <climits>
+ Include dependency graph for NumericConstants.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

constexpr double TIME_TOL = 0.01
 A minimal time difference that is considered significant for a solution.
 
constexpr double CRITERION_RTOL = 0.005
 A maximal relative tolerance of the criterion error imposed by the piece-wise linearization of energy functions.
 
constexpr double TIME_ERR = 0.001*TIME_TOL
 Minimal recognizable difference in the time.
 
constexpr double F32_INF = std::numeric_limits<float>::infinity()
 
constexpr double F32_MIN = std::numeric_limits<float>::lowest()
 
constexpr double F32_MAX = std::numeric_limits<float>::max()
 
constexpr double F32_EPS = std::numeric_limits<float>::epsilon()
 
constexpr double F64_INF = std::numeric_limits<double>::infinity()
 
constexpr double F64_MIN = std::numeric_limits<double>::lowest()
 
constexpr double F64_MAX = std::numeric_limits<double>::max()
 
constexpr double F64_EPS = std::numeric_limits<double>::epsilon()
 

Detailed Description

The file defines allowed inaccuracies in a solution and constants for floats.

Author
Libor Bukata

Definition in file NumericConstants.h.