lpinterface
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
common.hpp
1 #ifndef LPINTERCACE_COMMON_H
2 #define LPINTERCACE_COMMON_H
3 
4 #include <limits>
5 #include "errors.hpp"
6 
7 namespace lpint {
8 
10 constexpr double LPINT_INFINITY = std::numeric_limits<double>::infinity();
11 
12 constexpr double DOUBLE_TOLERANCE = 1e-15;
13 
14 namespace detail {
15 
16 constexpr long CPP_14 = 201402L;
17 
18 }
19 
20 } // namespace lpint
21 
22 #endif // LPINTERCACE_COMMON_H
constexpr double LPINT_INFINITY
Constant representing floating point infinity.
Definition: common.hpp:10