Add MPFRC++ mpreal type
[ipdf/code.git] / src / real.cpp
index ce2f976..aa0cfc8 100644 (file)
@@ -7,14 +7,17 @@ namespace IPDF
                "single",
                "double",
                "long double",
-               "single [fast2sum]", //TODO REMOVE DOESN'T DO ANYTHING USEFUL
+               "VFPU",
                "Rational<int64_t>", 
-               "Rational<Arbint>"
+               "Rational<Arbint>",
+               "mpfrc++ real"
        };
        
+#if REAL == REAL_RATIONAL_ARBINT
        template <> Gmpint Tabs(const Gmpint & a)
        {
                return a.Abs();
        }
+#endif
 
 }

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