Go to the source code of this file.
Namespaces | |
| namespace | UtilMath |
Functions | |
| 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(). |
1.3.9.1