X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Freal.cpp;h=aa0cfc80591b6bacb8db08266e299946813a7ad3;hb=138ee74c900c6f485cdd959d55c01099d6043661;hp=83b3fb8b13f57e1a849ecfa2ef8d6ce6ac4fec58;hpb=3ab3475a54c82cb9f5e0b1dbb88035f341b92d49;p=ipdf%2Fcode.git diff --git a/src/real.cpp b/src/real.cpp index 83b3fb8..aa0cfc8 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -7,9 +7,17 @@ namespace IPDF "single", "double", "long double", - "single [fast2sum]", //TODO REMOVE DOESN'T DO ANYTHING USEFUL + "VFPU", "Rational", - "Rational" + "Rational", + "mpfrc++ real" }; + +#if REAL == REAL_RATIONAL_ARBINT + template <> Gmpint Tabs(const Gmpint & a) + { + return a.Abs(); + } +#endif }