diff options
author | bremner <bremner@09fa754a-f411-0410-976a-da6bfa213b30> | 2006-04-21 17:39:32 +0000 |
---|---|---|
committer | bremner <bremner@09fa754a-f411-0410-976a-da6bfa213b30> | 2006-04-21 17:39:32 +0000 |
commit | a468544d39ef18c6e47fd59cf427a4e25fe22b7f (patch) | |
tree | aacd9a4cad151cd60cef375d75088cbe3f18fe7e /rat2float.ds |
cvs to svn conversion script
git-svn-id: file:///export/data/bremner/svn/trunk/inetools@2344 09fa754a-f411-0410-976a-da6bfa213b30
Diffstat (limited to 'rat2float.ds')
-rw-r--r-- | rat2float.ds | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rat2float.ds b/rat2float.ds new file mode 100644 index 0000000..44582d6 --- /dev/null +++ b/rat2float.ds @@ -0,0 +1,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(); |