adevs
|
#include <adevs_time.h>
Public Member Functions | |
double_fcmp (double rhs=0) | |
const double_fcmp & | operator= (const double_fcmp &rhs) |
const double_fcmp & | operator= (double rhs) |
operator double () | |
bool | operator< (double rhs) const |
bool | operator< (const double_fcmp &rhs) const |
bool | operator<= (const double_fcmp &rhs) const |
bool | operator> (const double_fcmp &rhs) const |
bool | operator>= (const double_fcmp &rhs) const |
bool | operator== (double rhs) const |
bool | operator== (const double_fcmp &rhs) const |
Static Public Attributes | |
static double | epsilon |
This is an alternative double that may be used for the simulation clock (i.e., as the template parameter T for models and simulators). It uses the fcmp function to check for equality instead of the default equality operator. Information on the fcmp function may be found at http://fcmp.sourceforge.net/
double adevs::double_fcmp::epsilon [static] |
The user must instantiate this static variable and initialize as required by the fcmp function.