00001 00008 #ifndef TIMEUNITS_H 00009 #define TIMEUNITS_H 00010 00011 #include <math.h> 00012 #include <float.h> 00013 00014 #define TIME_IS_DOUBLE 00015 #ifdef TIME_IS_DOUBLE 00016 typedef double timeunits; 00017 const double MAXTIME = DBL_MAX; 00018 #else 00019 typedef signed long int timeunits; 00020 const signed long int MAXTIME = MAXLONG; 00021 #endif 00022 00026 const timeunits NEVER = -1; 00027 00028 #endif /*TIMEUNITS_H*/