| 44 |  | * @file NumericConstant.hpp | 
| 45 |  | * @author teng lin | 
| 46 |  | * @date 11/17/2004 | 
| 47 | – | * @time 23:33am | 
| 47 |  | * @version 1.0 | 
| 48 |  | */ | 
| 49 |  |  | 
| 50 |  | #ifndef UTILS_NUMERICCONSTANT_HPP | 
| 51 |  | #define UTILS_NUMERICCONSTANT_HPP | 
| 52 | + |  | 
| 53 | + | #include "config.h" | 
| 54 |  | #include <cmath> | 
| 55 |  | #include <limits> | 
| 56 | + | #include "config.h" | 
| 57 | + |  | 
| 58 |  | namespace OpenMD { | 
| 59 |  |  | 
| 60 |  | /** | 
| 66 |  | static const RealType epsilon = std::numeric_limits<RealType>::epsilon(); | 
| 67 |  | static const RealType PI = M_PI; | 
| 68 |  | static const RealType TWO_PI = 2.0 * PI; | 
| 69 | + | static const RealType infinity = std::numeric_limits<RealType>::infinity(); | 
| 70 |  | } | 
| 71 |  |  | 
| 72 |  |  |