X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=ca284466b285461deb5200933d9417a6be976b84;hp=96d8054728a221cf4c6e09cd1cf0116d0e4a0ce9;hb=b716ae547424e4e4bbda86781a151c31e3a64e67;hpb=a142272ddd5dfe41d9d895655513d705b9910e71 diff --git a/src/real.cpp b/src/real.cpp index 96d8054..ca28446 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -1,22 +1,30 @@ #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", + "ParanoidNumber", + "GMPrat" }; -#if REAL == REAL_RATIONAL_ARBINT +#if REALTYPE == REAL_RATIONAL_ARBINT template <> Gmpint Tabs(const Gmpint & a) { return a.Abs(); } #endif + + + }