+/**
+ * Test mathematical operations on the Real type and consistency with double
+ */
+
#include "main.h"
#include "real.h"
bool NotEqual(double a, double b, double threshold=1e-1)
{
- double error = (fabs(a-b) > threshold);
+ double error = fabs(a-b);
g_totalerror += error;
return (error > threshold);
}