#include "xbt/log.h"
#include "xbt/misc.h"
+#include <math.h>
+
XBT_LOG_NEW_DEFAULT_CATEGORY(unit, "Unit tests of the Trace Manager");
double thedate;
static inline bool doubleEq(double d1, double d2)
{
- return std::abs(d1 - d2) < 0.0001;
+ return fabs(d1 - d2) < 0.0001;
}
class Evt {
public: