Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

UtilMath.h File Reference

Go to the source code of this file.

Namespaces

namespace  UtilMath

Functions

bool sameValue (double x1, double x2, bool strict=false, double prec=10.)


Function Documentation

bool sameValue double  x1,
double  x2,
bool  strict = false,
double  prec = 10.
 

Test if two doubles are w/in epsilon of each other. If strict is false, use 10x float epsilon, o.w. 10x double epsilon.

Referenced by BDCheckDB::CheckSpill(), compareP4(), UtilHist::HistAdd(), UtilHist::HMin(), and UtilHist::SumEff().


Generated on Mon Nov 23 05:29:52 2009 for loon by  doxygen 1.3.9.1