git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Gmprat for Path bounds with TRANSFORM_BEZIERS_TO_PATH
[ipdf/code.git]
/
src
/
real.cpp
diff --git
a/src/real.cpp
b/src/real.cpp
index
0f104e5
..
ca28446
100644
(file)
--- a/
src/real.cpp
+++ b/
src/real.cpp
@@
-1,22
+1,30
@@
#include "real.h"
#include "real.h"
+#include <fenv.h>
namespace IPDF
{
namespace IPDF
{
- // Maps the REAL to a string
+ // Maps the REAL
TYPE
to a string
const char * g_real_name[] = {
"single",
"double",
"long double",
"VFPU",
"Rational<int64_t>",
const char * g_real_name[] = {
"single",
"double",
"long double",
"VFPU",
"Rational<int64_t>",
- "Rational<Arbint>"
+ "Rational<Arbint>",
+ "mpfrc++ real",
+ "iRRAM REAL",
+ "ParanoidNumber",
+ "GMPrat"
};
};
-#if REAL == REAL_RATIONAL_ARBINT
+#if REAL
TYPE
== REAL_RATIONAL_ARBINT
template <> Gmpint Tabs(const Gmpint & a)
{
return a.Abs();
}
#endif
template <> Gmpint Tabs(const Gmpint & a)
{
return a.Abs();
}
#endif
+
+
+
}
}
UCC
git Repository :: git.ucc.asn.au