double f=, ff=;
//float f, ff;
count = 0; // init counter
f = 1.000001;// pick initial values that will prevent over/under-runs
ff = 0.999999;
msec = 10000;// run the test for ten seconds
do {
//ff *= f;// test of multiplication
ff =ff/ f;// test of division
count++;
count /= 10;
} while(msec);
|
double f=, ff=;
//float f, ff;
count = 0; // init counter
f = 1.000001;// pick initial values that will prevent over/under-runs
ff = 0.999999;
msec = 10000;// run the test for ten seconds
do {
sprintf(str,"Num:%d\r\n",count);
//ff *= f;// test of multiplication
ff =ff/ f;// test of division
count++;
count /= 10;
} while(msec);
|
double f=0, ff=0; |
double f=, ff=; |