X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=0f104e5091de7c5e8ccff2d2ab58cd14be9a2b84;hp=7c70a92327dfe211dcacede13202c9628d6ab377;hb=5456793e2aad4235c3db2ca75532c868aaa7c518;hpb=c9ce50e17952b0feeec68758444a50302a0aafba diff --git a/src/real.cpp b/src/real.cpp index 7c70a92..0f104e5 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -6,7 +6,17 @@ namespace IPDF const char * g_real_name[] = { "single", "double", - "long double" + "long double", + "VFPU", + "Rational", + "Rational" }; + +#if REAL == REAL_RATIONAL_ARBINT + template <> Gmpint Tabs(const Gmpint & a) + { + return a.Abs(); + } +#endif }