aboutsummaryrefslogtreecommitdiff
path: root/rat2float.h
diff options
context:
space:
mode:
authorbremner <bremner@09fa754a-f411-0410-976a-da6bfa213b30>2006-06-01 19:27:52 +0000
committerbremner <bremner@09fa754a-f411-0410-976a-da6bfa213b30>2006-06-01 19:27:52 +0000
commitedaad771cb395a3a0b68cf3bbda2de1e259194c7 (patch)
treed6bfc9b298ee3363337f7287d3f04babb84f3cd5 /rat2float.h
parent7a583e3a287eb468e82e6509b467b6701e50dade (diff)
renamed .ds files for david avis
git-svn-id: file:///export/data/bremner/svn/trunk/inetools@5360 09fa754a-f411-0410-976a-da6bfa213b30
Diffstat (limited to 'rat2float.h')
-rw-r--r--rat2float.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/rat2float.h b/rat2float.h
new file mode 100644
index 0000000..3148de6
--- /dev/null
+++ b/rat2float.h
@@ -0,0 +1,16 @@
+#define DOCSTRING "\n\
+$Id: rat2float.doc 2343 2006-04-04 12:34:35Z bremner $ \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();