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