#include "real.h"
+#include <fenv.h>
namespace IPDF
{
- // Maps the REAL to a string
+ // Maps the REALTYPE to a string
const char * g_real_name[] = {
"single",
- "double"
+ "double",
+ "long double",
+ "VFPU",
+ "Rational<int64_t>",
+ "Rational<Arbint>",
+ "mpfrc++ real",
+ "iRRAM REAL",
+ "ParanoidNumber",
+ "GMPrat"
};
+
+#if REALTYPE == REAL_RATIONAL_ARBINT
+ template <> Gmpint Tabs(const Gmpint & a)
+ {
+ return a.Abs();
+ }
+#endif
+
+
+
}