**************************************************************************/
+#include <math.h>
#include <string.h>
#include <Astro/orbits.h>
do
{
E1 = E0 - (E0 - e * sin(E0) - M) / (1 - e * cos(E0));
- diff = abs(E0 - E1);
+ diff = fabs(E0 - E1);
E0 = E1;
}
while (diff > fgDegToRad(0.001));
/* $Log$
-/* Revision 1.2 1998/01/19 19:26:58 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.3 1998/01/22 02:59:27 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.2 1998/01/19 19:26:58 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.1 1998/01/07 03:16:17 curt
* Moved from .../Src/Scenery/ to .../Src/Astro/
*