X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=96d8054728a221cf4c6e09cd1cf0116d0e4a0ce9;hp=74c774baa578d8cb1c09bce74a460bcf558ad281;hb=e0cd98bdff7f026b92f2c0e5b08639e08b98874e;hpb=e164c93218ed4599614f4f6e5e815429a3fedbf7 diff --git a/src/real.cpp b/src/real.cpp index 74c774b..96d8054 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -5,7 +5,18 @@ namespace IPDF // Maps the REAL to a string const char * g_real_name[] = { "single", - "double" + "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 }