Add quadtree back to the Makefile
[ipdf/code.git] / src / real.cpp
index bda6102..bed613f 100644 (file)
@@ -1,13 +1,28 @@
 #include "real.h"
 #include "real.h"
+#include <fenv.h>
 
 namespace IPDF
 {
 
 namespace IPDF
 {
-       // Maps the REAL to a string
+       // Maps the REALTYPE to a string
        const char * g_real_name[] = {
                "single",
                "double",
                "long double",
        const char * g_real_name[] = {
                "single",
                "double",
                "long double",
-               "single [fast2sum]"
+               "VFPU",
+               "Rational<int64_t>", 
+               "Rational<Arbint>",
+               "mpfrc++ real",
+               "iRRAM REAL"
        };
        };
+       
+#if REALTYPE == REAL_RATIONAL_ARBINT
+       template <> Gmpint Tabs(const Gmpint & a)
+       {
+               return a.Abs();
+       }
+#endif
+
+
+
 
 }
 
 }

UCC git Repository :: git.ucc.asn.au