1 #include "stresstest.h"
3 #include "progressbar.h"
8 int main(int argc, char ** argv)
12 Debug("Repeated Multiplications and Divisions - Should give one");
13 first_clock = clock();
15 for (int i = 1; i < 2; ++i)
17 for (int j = 1; j < 100; ++j)
19 clock_t start = clock();
20 Real result = MulDiv<Real>(1, i, Real(1)/Real(j));
21 clock_t end = clock();
22 printf("%d\t%d\t%.30lf\t%li\t%li\n", i, j, Double(result), end-start, elapsed);
25 Debug("MulDiv Total time: %li", clock() - first_clock);