- Real error_real = Integrate<Real>(f<Real>, 0.0, 1.0, intervals) - Real(M_PI);
- clock_t clock_real = clock() - start;
-
- printf("%lu\t%.30f\t%li\t%.30f\t%li\t%.30f\t%li\n", intervals, error_float, clock_float, error_double, clock_double, Float(error_real), clock_real);
+ long double error_long = Integrate<long double>(f<long double>,0.0L,1.0L, intervals) - PI;
+ clock_t clock_long = clock() - start;
+
+ printf("%lu\t%.30f\t%li\t%.30lf\t%li\t%.30llf\t%li", intervals, error_float, clock_float, error_double, clock_double, error_long, clock_long);
+
+ #if REAL > REAL_LONG_DOUBLE
+ Real error_real = Integrate<Real>(f<Real>,Real(0.0L), Real(1.0L), intervals) - Real(PI);
+ clock_t clock_real = clock() - start;
+ printf("\t%.30lf\t%li\n", Float(error_real), clock_real);
+ #else
+ printf("\n");
+ #endif