From 13434a06d5f7d34be5a78f4d8ab2db1a8b1d50e5 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 12 Nov 2008 04:01:51 +0000 Subject: Remove output_string function git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@10 0d43b9a7-5ab2-4d7b-af9d-f64450cef757 --- emfloat.c | 43 ++----------------------------------------- 1 file changed, 2 insertions(+), 41 deletions(-) (limited to 'emfloat.c') diff --git a/emfloat.c b/emfloat.c index 0f9793b..e9388c5 100644 --- a/emfloat.c +++ b/emfloat.c @@ -103,9 +103,6 @@ int number_of_loops; ** Begin timing */ elapsed=StartStopwatch(); -#ifdef DEBUG -number_of_loops=loops-1; /* the index of the first loop we run */ -#endif /* ** Each pass through the array performs operations in @@ -139,44 +136,8 @@ while(loops--) cbase+i); break; } -#ifdef DEBUG -{ - unsigned long j[8]; /* we test 8 entries */ - int k; - unsigned long i; - char buffer[1024]; - if (number_of_loops==loops) /* the first loop */ - { - j[0]=(unsigned long)2; - j[1]=(unsigned long)6; - j[2]=(unsigned long)10; - j[3]=(unsigned long)14; - j[4]=(unsigned long)(arraysize-14); - j[5]=(unsigned long)(arraysize-10); - j[6]=(unsigned long)(arraysize-6); - j[7]=(unsigned long)(arraysize-2); - for(k=0;k<8;k++){ - i=j[k]; - InternalFPFToString(buffer,abase+i); - printf("%6ld: (%s) ",i,buffer); - switch(jtable[i % 16]) - { - case 0: strcpy(buffer,"+"); break; - case 1: strcpy(buffer,"-"); break; - case 2: strcpy(buffer,"*"); break; - case 3: strcpy(buffer,"/"); break; - } - printf("%s ",buffer); - InternalFPFToString(buffer,bbase+i); - printf("(%s) = ",buffer); - InternalFPFToString(buffer,cbase+i); - printf("%s\n",buffer); - } - } -} -#endif -} -return(StopStopwatch(elapsed)); + } + return(StopStopwatch(elapsed)); } /*********************** -- cgit v1.2.3