commit | 5d01ab4ac64b913c537e91f7c01d5c8e910151da | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Thu Nov 21 01:16:49 2013 +0000 |
committer | Szabolcs Nagy <nsz@port70.net> | Thu Nov 21 01:16:49 2013 +0000 |
tree | 68585091ada93029345fb30960e61cb6c8c0eb42 | |
parent | ebbaf2180e6e32043837f570982c2ee86cf19eae [diff] [blame] |
math: add (obsolete) bsd drem and finite functions
diff --git a/src/math/finitef.c b/src/math/finitef.c new file mode 100644 index 0000000..2c4c771 --- /dev/null +++ b/src/math/finitef.c
@@ -0,0 +1,7 @@ +#define _GNU_SOURCE +#include <math.h> + +int finitef(float x) +{ + return isfinite(x); +}