git.ucc.asn.au
/
ipdf
/
code.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix some quadtree rendering bugs.
[ipdf/code.git]
/
src
/
real.cpp
1
#include "real.h"
2
3
namespace IPDF
4
{
5
// Maps the REAL to a string
6
const char * g_real_name[] = {
7
"single",
8
"double",
9
"long double",
10
"single [fast2sum]", //TODO REMOVE DOESN'T DO ANYTHING USEFUL
11
"Rational<int64_t>",
12
"Rational<Arbint>"
13
};
14
15
#if REAL == REAL_RATIONAL_ARBINT
16
template <> Gmpint Tabs(const Gmpint & a)
17
{
18
return a.Abs();
19
}
20
#endif
21
22
}
UCC
git Repository :: git.ucc.asn.au