mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
11 lines
205 B
C
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;
|
|
}
|
|
|