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
The power of truetype font rendering!
[ipdf/code.git]
/
src
/
real.cpp
diff --git
a/src/real.cpp
b/src/real.cpp
index
bda6102
..
0f104e5
100644
(file)
--- a/
src/real.cpp
+++ b/
src/real.cpp
@@
-7,7
+7,16
@@
namespace IPDF
"single",
"double",
"long double",
"single",
"double",
"long double",
- "single [fast2sum]"
+ "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