X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=0f104e5091de7c5e8ccff2d2ab58cd14be9a2b84;hp=74c774baa578d8cb1c09bce74a460bcf558ad281;hb=2a1715c907ba3ccfb952e9630c3fe305655637e0;hpb=e164c93218ed4599614f4f6e5e815429a3fedbf7;ds=sidebyside diff --git a/src/real.cpp b/src/real.cpp index 74c774b..0f104e5 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", + "VFPU", + "Rational", + "Rational" }; + +#if REAL == REAL_RATIONAL_ARBINT + template <> Gmpint Tabs(const Gmpint & a) + { + return a.Abs(); + } +#endif }