X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=ce2f976e02900a88ebb339417cd39e39b5977a09;hp=74c774baa578d8cb1c09bce74a460bcf558ad281;hb=85e08223a33439f9b4911129b48ee45ff65869eb;hpb=aaa65d90ac812f924cbbc39bef7a5f8b6cad2da3 diff --git a/src/real.cpp b/src/real.cpp index 74c774b..ce2f976 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -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", + "Rational" }; + + template <> Gmpint Tabs(const Gmpint & a) + { + return a.Abs(); + } }