aboutsummaryrefslogtreecommitdiff
path: root/rat2float.ds
blob: 44582d60d04f8b9e052ac1fa7ceab6e586a9f91a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define DOCSTRING "\n\
$Id$ \n\
\n\
float takes a polytope file with rational or integer coefficents, \n\
and outputs an approximately equivelent one with floating point \n\
coefficents.\n\
\n\
WARNING: Assumes that numerator and denominator will fit  in long integer,\n\
unless compiled with multiprecision support.\n\
\n\
\n\
\n\
"

int usage(){ fprintf(stderr,"\n%s\n",rcsid);fprintf(stderr,DOCSTRING);  exit(1); 	}
#define CHECK_HELP   if (argc > 1 && argv[1][0]=='-' && argv[1][1]=='h') usage();