#include <stdio.h>
-#include <float.h>
+#include <math.h>
// stuff to make Mac code compatable with Windows
typedef bool Boolean;
-
struct Point
{
short v;
Duration AbsoluteDeltaToDuration( AbsoluteTime& a, AbsoluteTime& b);
+/*
inline bool isnormal( double x)
{
int ret = _fpclass( x);
return (ret == _FPCLASS_NN || ret == _FPCLASS_PN);
}
+*/
typedef unsigned int uintptr_t;
char* ConvertFileName( const char* orgfilename, const char* junk);
-#define fopen( a, b) fopen( ConvertFileName( a), b);
+#define fopen(a, b) fopen(ConvertFileName(a), b);
-inline float abs( float f)
+inline float abs(float f)
{
if (f < 0)
return -f;
return f;
}
-inline double abs( double f)
+inline double abs(double f)
{
if (f < 0)
return -f;