X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=bed613f046e69e8ff4a9c5831e6230980faa5241;hp=aa0cfc80591b6bacb8db08266e299946813a7ad3;hb=888817a67a9d840be66b52811b01eb77f10ff3e6;hpb=dfba002efc3b5f126ddb69e63b9a7dafdd9eacda 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 + + + }