aboutsummaryrefslogtreecommitdiff
path: root/gfsm/gfsm/src/libgfsm/tests/ftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfsm/gfsm/src/libgfsm/tests/ftest.c')
-rw-r--r--gfsm/gfsm/src/libgfsm/tests/ftest.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gfsm/gfsm/src/libgfsm/tests/ftest.c b/gfsm/gfsm/src/libgfsm/tests/ftest.c
deleted file mode 100644
index e571f31..0000000
--- a/gfsm/gfsm/src/libgfsm/tests/ftest.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <stdio.h>
-#include <glib.h>
-
-int main (int argc, char **argv) {
- float f, f2;
- gpointer p;
- int i;
-
- for (i=1; i<argc; i++) {
- sscanf(argv[i], "%f", &f);
- p = (gpointer)(*((int*)(&f)));
- f2 = *((float*)(&p));
- printf("argv[i=%d]='%s' ; f=%g ; f->p=%p ; p->f=%g\n", i, argv[i], f, p, f2);
- }
-
- return 0;
-}