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