vide_public/external/libsdf/libsw/finite.c
2013-03-01 15:43:05 -05:00

11 lines
205 B
C

/* This really should be implemented for us... */
/* Nevertheless, we should do better.. */
#include <math.h>
#ifndef HUGE
#define HUGE 1.e38
#endif
int finite(double x){
return x<HUGE && x>-HUGE;
}