Arbint subtraction/addition deal with borrow/carry correctly, maybe
[ipdf/code.git] / src / tests / vfpufloat.cpp
index 5f89a66..dae457b 100644 (file)
@@ -6,7 +6,10 @@ using namespace std;
 
 int main(int argc, char ** argv)
 {
-       VFPU::Start();
+       if (argc > 1)
+               VFPU::Start(argv[1]);
+       else
+               VFPU::Start();
        float result = VFPU::Exec(25,10, VFPU::SUB);
        Debug("%f\n", result);
        VFPU::Halt();

UCC git Repository :: git.ucc.asn.au