12 #include <RTI/time/HLAfloat64Interval.h>
24 #define FLOAT64_POSITIVE_INFINITY (DBL_MAX)
25 #define FLOAT64_NEGATIVE_INFINITY (-DBL_MAX)
26 #define FLOAT64_EPSILON (DBL_MIN)
27 #define FLOAT64_ZERO (0.0)
30 #define nextafter _nextafter
40 HLAfloat64IntervalImpl();
41 HLAfloat64IntervalImpl(
double const & value);
42 HLAfloat64IntervalImpl(HLAfloat64IntervalImpl
const & value);
45 virtual ~HLAfloat64IntervalImpl ();
48 virtual void setZero ();
49 virtual bool isZero ()
const;
50 virtual void setEpsilon ();
51 virtual bool isEpsilon ()
const;
54 virtual rti1516e::HLAfloat64IntervalImpl& operator= (
double value);
55 virtual rti1516e::HLAfloat64IntervalImpl& operator= (
const rti1516e::HLAfloat64IntervalImpl& value);
58 virtual rti1516e::HLAfloat64IntervalImpl& operator+= (
double addend)
59 throw (rti1516e::IllegalTimeArithmetic);
61 virtual rti1516e::HLAfloat64IntervalImpl& operator-= (
double subtrahend)
62 throw (rti1516e::IllegalTimeArithmetic);
64 virtual bool operator> (
double value)
const;
66 virtual bool operator< (
double value)
const;
68 virtual bool operator== (
double value)
const;
70 virtual bool operator>= (
double value)
const;
72 virtual bool operator<= (
double value)
const;
74 virtual void setToDifference (
double minuend,
double subtrahend)
75 throw (rti1516e::IllegalTimeArithmetic);
78 virtual double getInterval ()
const;
79 virtual void setInterval (
double value);
84 static const double theZero;
85 static const double theEpsilon;
86 static const double thePositiveInfinity;
90 #endif // DtIFSPEC1516E