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 1808 by gezelter, Mon Oct 22 20:42:10 2012 UTC

# Line 44 | Line 44
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    /**
# Line 63 | Line 66 | namespace OpenMD {
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines