X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=96d8054728a221cf4c6e09cd1cf0116d0e4a0ce9;hp=7c70a92327dfe211dcacede13202c9628d6ab377;hb=8e97d741cf713296c96b53f4ebb1615e8d443391;hpb=c9ce50e17952b0feeec68758444a50302a0aafba 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 }