X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=0f104e5091de7c5e8ccff2d2ab58cd14be9a2b84;hp=bda61029d31a2bf9eac171440914549aecefe113;hb=6dd539966821debd18e0b86ed126742cd81d7fc9;hpb=5e19040b00e135ead52e535165e079ee72059727 diff --git a/src/real.cpp b/src/real.cpp index bda6102..0f104e5 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -7,7 +7,16 @@ namespace IPDF "single", "double", "long double", - "single [fast2sum]" + "VFPU", + "Rational", + "Rational" }; + +#if REAL == REAL_RATIONAL_ARBINT + template <> Gmpint Tabs(const Gmpint & a) + { + return a.Abs(); + } +#endif }