]> git.mxchange.org Git - flightgear.git/blobdiff - tests/est-epsilon.c
John Denker:
[flightgear.git] / tests / est-epsilon.c
diff --git a/tests/est-epsilon.c b/tests/est-epsilon.c
deleted file mode 100644 (file)
index 5ff0a8a..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
-
-#ifdef HAVE_WINDOWS_H
-#  include <windows.h>
-#endif
-
-#include <stdio.h>
-
-#include <simgear/compiler.h>
-#if defined( __APPLE__)
-# include <OpenGL/OpenGL.h>
-#else
-# include <GL/gl.h>
-#endif
-
-int main() {
-    GLfloat a, t;
-
-    a = 1.0;
-
-    do {
-       printf("a = %.10f\n", a);
-       a = a / 2.0;
-       t = 1.0 + a;
-    } while ( t > 1.0 );
-
-    a = a + a;
-
-    printf("Estimated GLfloat epsilon = %.10f\n", a);
-
-    return(0);
-}