summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-08-30 04:46:47 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-08-30 04:46:47 -0500
commit7515ce3fa8b30f7b7d67bc2a659e15276c0923d7 (patch)
tree3d727e06ad85417602e7e933dc751c6a6a40a59c /math.c
downloadgcompat-7515ce3fa8b30f7b7d67bc2a659e15276c0923d7.tar.gz
gcompat-7515ce3fa8b30f7b7d67bc2a659e15276c0923d7.tar.bz2
gcompat-7515ce3fa8b30f7b7d67bc2a659e15276c0923d7.tar.xz
gcompat-7515ce3fa8b30f7b7d67bc2a659e15276c0923d7.zip
Initial commit
Diffstat (limited to 'math.c')
-rw-r--r--math.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/math.c b/math.c
new file mode 100644
index 0000000..bacec36
--- /dev/null
+++ b/math.c
@@ -0,0 +1,21 @@
+#include <math.h> // isinf, isnan
+
+int __isinff(float number)
+{
+ return isinf(number);
+}
+
+int __isinf(double number)
+{
+ return isinf(number);
+}
+
+int __isnanf(float number)
+{
+ return isnan(number);
+}
+
+int __isnan(double number)
+{
+ return isnan(number);
+}