ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/utils/NumericConstant.hpp
(Generate patch)

Comparing branches/development/src/utils/NumericConstant.hpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1767 by gezelter, Fri Jul 6 22:01:58 2012 UTC

# Line 50 | Line 50
50  
51   #ifndef UTILS_NUMERICCONSTANT_HPP
52   #define UTILS_NUMERICCONSTANT_HPP
53 +
54 + #include "config.h"
55   #include <cmath>
56   #include <limits>
57 + #include "config.h"
58 +
59   namespace OpenMD {
60  
61    /**
# Line 63 | Line 67 | namespace OpenMD {
67      static const RealType epsilon = std::numeric_limits<RealType>::epsilon();
68      static const RealType PI = M_PI;
69      static const RealType TWO_PI = 2.0 * PI;
70 +    static const RealType infinity = std::numeric_limits<RealType>::infinity();
71    }
72  
73  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines