git.ucc.asn.au
/
ipdf
/
code.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make real.h so we can change reals
[ipdf/code.git]
/
src
/
tests
/
realtofloat.cpp
1
#include "main.h"
2
float test = 1e4;
3
int main(int argc, char ** argv)
4
{
5
Real r(test);
6
Debug("test float %.20f", test);
7
Debug("test real %.20f", Float(r));
8
return 0;
9
}
UCC
git Repository :: git.ucc.asn.au