From 5d01ab4ac64b913c537e91f7c01d5c8e910151da Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 21 Nov 2013 01:16:49 +0000 Subject: math: add (obsolete) bsd drem and finite functions --- src/math/finitef.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/math/finitef.c (limited to 'src/math/finitef.c') diff --git a/src/math/finitef.c b/src/math/finitef.c new file mode 100644 index 00000000..2c4c7714 --- /dev/null +++ b/src/math/finitef.c @@ -0,0 +1,7 @@ +#define _GNU_SOURCE +#include + +int finitef(float x) +{ + return isfinite(x); +} -- cgit v1.2.1