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