#include <CoinFloatEqual.hpp>
Public Member Functions | |
bool | operator() (const double f1, const double f2) const |
Compare function. | |
Constructors and destructors | |
CoinRelFltEq () | |
Default constructor. | |
CoinRelFltEq (const double epsilon) | |
Alternate constructor with epsilon as a parameter. | |
virtual | ~CoinRelFltEq () |
Destructor. | |
CoinRelFltEq (const CoinRelFltEq &src) | |
Copy constructor. | |
CoinRelFltEq & | operator= (const CoinRelFltEq &rhs) |
Assignment. | |
Private Attributes | |
Private member data | |
double | epsilon_ |
Base equality tolerance. |
Operands are considered equal if their difference is within a scaled epsilon calculated as epsilon_*(1+max(|f1|,|f2|)).
Definition at line 105 of file CoinFloatEqual.hpp.