#include"testevalhalf.h" #include"util.h" #include #include #include void showUsage(const char* exec) { fprintf(stderr,"Parameters missing\n"); fprintf(stderr,"Usage: %s -- \n",exec); fprintf(stderr," %s <0 1 ...>\n",exec); exit(1); } int main(int argc,char *argv[]) { ProtocolDesc pd; TestEvalHalfIO io; int i,me; const char* server; if(argc<3) showUsage(argv[0]); else { server=(strcmp(argv[1],"--")?argv[1]:NULL); me = (server?2:1); io.n = argc-3; io.data = malloc(sizeof(int)*2*io.n); io.sel = malloc(sizeof(bool)*io.n); for(i=0;i