All of the things and none of the sleep
[ipdf/code.git] / src / real.cpp
1 #include "real.h"
2 #include <fenv.h>
3
4 namespace IPDF
5 {
6         // Maps the REALTYPE to a string
7         const char * g_real_name[] = {
8                 "single",
9                 "double",
10                 "long double",
11                 "VFPU",
12                 "Rational<int64_t>", 
13                 "Rational<Arbint>",
14                 "mpfrc++ real",
15                 "iRRAM REAL",
16                 "ParanoidNumber",
17                 "GMPrat"
18         };
19         
20 #if REALTYPE == REAL_RATIONAL_ARBINT
21         template <> Gmpint Tabs(const Gmpint & a)
22         {
23                 return a.Abs();
24         }
25 #endif
26
27
28
29
30 }

UCC git Repository :: git.ucc.asn.au