X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;fp=src%2Freal.cpp;h=bed613f046e69e8ff4a9c5831e6230980faa5241;hp=aa0cfc80591b6bacb8db08266e299946813a7ad3;hb=20788af97c06b76040ea2de5ab3ddc683a261365;hpb=7bd1c291a120559e209996a572f437cbe6f3e4a4 diff --git a/src/real.cpp b/src/real.cpp index aa0cfc8..bed613f 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -1,8 +1,9 @@ #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", @@ -10,14 +11,18 @@ namespace IPDF "VFPU", "Rational", "Rational", - "mpfrc++ real" + "mpfrc++ real", + "iRRAM REAL" }; -#if REAL == REAL_RATIONAL_ARBINT +#if REALTYPE == REAL_RATIONAL_ARBINT template <> Gmpint Tabs(const Gmpint & a) { return a.Abs(); } #endif + + + }