mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Added missing libsw library
This commit is contained in:
parent
dd5e51c09c
commit
9dff8cfb5a
57 changed files with 13454 additions and 0 deletions
11
external/libsdf/libsw/finite.c
vendored
Normal file
11
external/libsdf/libsw/finite.c
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* 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;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue