Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

CoinAbsFltEq Class Reference

Equality to an absolute tolerance. More...

#include <CoinFloatEqual.hpp>

List of all members.

Public Member Functions

bool operator() (const double f1, const double f2) const
 Compare function.

Constructors and destructors
 CoinAbsFltEq ()
 Default constructor.

 CoinAbsFltEq (const double epsilon)
 Alternate constructor with epsilon as a parameter.

virtual ~CoinAbsFltEq ()
 Destructor.

 CoinAbsFltEq (const CoinAbsFltEq &src)
 Copy constructor.

CoinAbsFltEqoperator= (const CoinAbsFltEq &rhs)
 Assignment.


Private Attributes

Private member data
double epsilon_
 Equality tolerance.


Detailed Description

Equality to an absolute tolerance.

Operands are considered equal if their difference is within an epsilon ; the test does not consider the relative magnitude of the operands.

Definition at line 44 of file CoinFloatEqual.hpp.


The documentation for this class was generated from the following file:
Generated on Wed Dec 3 14:34:25 2003 for Coin by doxygen 1.3.5