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 correct font metrics from truetype files.
[ipdf/code.git]
/
src
/
real.cpp
diff --git
a/src/real.cpp
b/src/real.cpp
index
7c70a92
..
0f104e5
100644
(file)
--- a/
src/real.cpp
+++ b/
src/real.cpp
@@
-6,7
+6,17
@@
namespace IPDF
const char * g_real_name[] = {
"single",
"double",
const char * g_real_name[] = {
"single",
"double",
- "long double"
+ "long double",
+ "VFPU",
+ "Rational<int64_t>",
+ "Rational<Arbint>"
};
};
+
+#if REAL == REAL_RATIONAL_ARBINT
+ template <> Gmpint Tabs(const Gmpint & a)
+ {
+ return a.Abs();
+ }
+#endif
}
}
UCC
git Repository :: git.ucc.asn.au