diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-11-21 01:16:49 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-11-21 01:16:49 +0000 |
commit | 5d01ab4ac64b913c537e91f7c01d5c8e910151da (patch) | |
tree | 68585091ada93029345fb30960e61cb6c8c0eb42 /src/math/finite.c | |
parent | ebbaf2180e6e32043837f570982c2ee86cf19eae (diff) | |
download | musl-5d01ab4ac64b913c537e91f7c01d5c8e910151da.tar.gz musl-5d01ab4ac64b913c537e91f7c01d5c8e910151da.tar.bz2 musl-5d01ab4ac64b913c537e91f7c01d5c8e910151da.tar.xz musl-5d01ab4ac64b913c537e91f7c01d5c8e910151da.zip |
math: add (obsolete) bsd drem and finite functions
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); +} |