Last active
August 29, 2015 14:03
-
-
Save vvavrychuk/4fe8d4848133585fba62 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/math/isinf.c b/src/math/isinf.c | |
new file mode 100644 | |
index 0000000..638543c | |
--- /dev/null | |
+++ b/src/math/isinf.c | |
@@ -0,0 +1,9 @@ | |
+#include <math.h> | |
+#include "libc.h" | |
+ | |
+int __isinff(float arg) | |
+{ | |
+ return isinf(arg); | |
+} | |
+ | |
+weak_alias(__isinff, isinf); | |
diff --git a/src/math/isnan.c b/src/math/isnan.c | |
new file mode 100644 | |
index 0000000..f4b88b9 | |
--- /dev/null | |
+++ b/src/math/isnan.c | |
@@ -0,0 +1,9 @@ | |
+#include <math.h> | |
+#include "libc.h" | |
+ | |
+int __isnanf(float arg) | |
+{ | |
+ return isnan(arg); | |
+} | |
+ | |
+weak_alias(__isnanf, isnan); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment