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