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