X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=bed613f046e69e8ff4a9c5831e6230980faa5241;hp=0f104e5091de7c5e8ccff2d2ab58cd14be9a2b84;hb=888817a67a9d840be66b52811b01eb77f10ff3e6;hpb=9e1a33043e1242c4605f2a3a48bd948fc760d948 diff --git a/src/real.cpp b/src/real.cpp index 0f104e5..bed613f 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -1,22 +1,28 @@ #include "real.h" +#include namespace IPDF { - // Maps the REAL to a string + // Maps the REALTYPE to a string const char * g_real_name[] = { "single", "double", "long double", "VFPU", "Rational", - "Rational" + "Rational", + "mpfrc++ real", + "iRRAM REAL" }; -#if REAL == REAL_RATIONAL_ARBINT +#if REALTYPE == REAL_RATIONAL_ARBINT template <> Gmpint Tabs(const Gmpint & a) { return a.Abs(); } #endif + + + }