git.ucc.asn.au
/
ipdf
/
code.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Careful, you may have to shade your eyes
[ipdf/code.git]
/
src
/
tests
/
vfpufloat.cpp
1
#include "main.h"
2
3
#include "vfpu.h"
4
using namespace std;
5
6
7
int main(int argc, char ** argv)
8
{
9
if (argc > 1)
10
VFPU::Start(argv[1]);
11
else
12
VFPU::Start();
13
float result = VFPU::Exec(25,10, VFPU::SUB);
14
Debug("%f\n", result);
15
VFPU::Halt();
16
17
return 0;
18
}
UCC
git Repository :: git.ucc.asn.au