X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=bed613f046e69e8ff4a9c5831e6230980faa5241;hp=ce2f976e02900a88ebb339417cd39e39b5977a09;hb=888817a67a9d840be66b52811b01eb77f10ff3e6;hpb=e8e6ff92ef0978cbec24dd69a85dbf1bd81681ad;ds=sidebyside diff --git a/src/real.cpp b/src/real.cpp index ce2f976..bed613f 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -1,20 +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", - "single [fast2sum]", //TODO REMOVE DOESN'T DO ANYTHING USEFUL + "VFPU", "Rational", - "Rational" + "Rational", + "mpfrc++ real", + "iRRAM REAL" }; +#if REALTYPE == REAL_RATIONAL_ARBINT template <> Gmpint Tabs(const Gmpint & a) { return a.Abs(); } +#endif + + + }