diff options
Diffstat (limited to 'src/math/finite.c')
-rw-r--r-- | src/math/finite.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/math/finite.c b/src/math/finite.c new file mode 100644 index 00000000..25a0575f --- /dev/null +++ b/src/math/finite.c @@ -0,0 +1,7 @@ +#define _GNU_SOURCE +#include <math.h> + +int finite(double x) +{ + return isfinite(x); +} |