Change Rational<Arbint> -> Rational<Gmpint>
[ipdf/code.git] / src / real.cpp
index 74c774b..ce2f976 100644 (file)
@@ -5,7 +5,16 @@ namespace IPDF
        // Maps the REAL to a string
        const char * g_real_name[] = {
                "single",
-               "double"
+               "double",
+               "long double",
+               "single [fast2sum]", //TODO REMOVE DOESN'T DO ANYTHING USEFUL
+               "Rational<int64_t>", 
+               "Rational<Arbint>"
        };
+       
+       template <> Gmpint Tabs(const Gmpint & a)
+       {
+               return a.Abs();
+       }
 
 }

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