Merge branch 'master' of git.ucc.asn.au:/ipdf/code
[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