aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/include/math.h')
-rw-r--r--src/lib/include/math.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/lib/include/math.h b/src/lib/include/math.h
new file mode 100644
index 0000000..64c46e7
--- /dev/null
+++ b/src/lib/include/math.h
@@ -0,0 +1,38 @@
+#pragma once
+
+// TODO
+
+#define INFINITY 0
+
+#define NAN 0
+
+#define HUGE_VAL 0
+#define HUGE_VALF 0
+#define HUGE_VALL 0
+
+float fabsf(float x);
+
+ float cosf(float x);
+ float sinf(float x);
+ float tanf(float x);
+
+ float acosf(float x);
+ float asinf(float x);
+float atan2f(float y, float x);
+
+float floorf(float x);
+float ceilf(float x);
+float fmodf(float x, float y);
+float sqrtf(float x);
+float logf(float x);
+float log2f(float x);
+float log10f(float x);
+float expf(float x);
+float frexpf(float x, int *exp);
+ float powf(float x, float y);
+
+
+
+
+
+/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/