X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=ce2f976e02900a88ebb339417cd39e39b5977a09;hp=7c70a92327dfe211dcacede13202c9628d6ab377;hb=85e08223a33439f9b4911129b48ee45ff65869eb;hpb=c9ce50e17952b0feeec68758444a50302a0aafba diff --git a/src/real.cpp b/src/real.cpp index 7c70a92..ce2f976 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -6,7 +6,15 @@ namespace IPDF const char * g_real_name[] = { "single", "double", - "long double" + "long double", + "single [fast2sum]", //TODO REMOVE DOESN'T DO ANYTHING USEFUL + "Rational", + "Rational" }; + + template <> Gmpint Tabs(const Gmpint & a) + { + return a.Abs(); + } }