--- trunk/src/utils/NumericConstant.hpp 2005/04/15 22:04:00 507 +++ trunk/src/utils/NumericConstant.hpp 2006/05/17 21:51:42 963 @@ -50,6 +50,7 @@ #ifndef UTILS_NUMERICCONSTANT_HPP #define UTILS_NUMERICCONSTANT_HPP #include +#include namespace oopse { /** @@ -58,9 +59,9 @@ namespace oopse { */ namespace NumericConstant { - static const double epsilon = 0.000001; - static const double PI = M_PI; - static const double TWO_PI = 2.0 * PI; + static const RealType epsilon = std::numeric_limits::epsilon(); + static const RealType PI = M_PI; + static const RealType TWO_PI = 2.0 * PI; }