8 #define REAL_LONG_DOUBLE 2
9 #define REAL_SINGLE_FAST2SUM 3
12 #error "REAL was not defined!"
15 #if REAL >= REAL_SINGLE_FAST2SUM
16 #include "real_fast2sum.h"
21 extern const char * g_real_name[];
23 #if REAL == REAL_SINGLE
25 inline float Float(Real r) {return r;}
26 #elif REAL == REAL_DOUBLE
28 inline double Float(Real r) {return r;}
29 #elif REAL == REAL_LONG_DOUBLE
30 typedef long double Real;
31 inline long double Float(Real r) {return r;}
32 #elif REAL == REAL_SINGLE_FAST2SUM
33 typedef RealF2S<float> Real;
34 inline float Float(Real r) {return r.m_value;}
37 #error "Type of Real unspecified."