aboutsummaryrefslogtreecommitdiffstats
path: root/src/utility/Math.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utility/Math.h')
-rw-r--r--src/utility/Math.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utility/Math.h b/src/utility/Math.h
new file mode 100644
index 00000000..e8d190c7
--- /dev/null
+++ b/src/utility/Math.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <cstdint>
+
+namespace Pinetime {
+ namespace Utility {
+ // returns the arcsin of `arg`. asin(-32767) = -90, asin(32767) = 90
+ int16_t Asin(int16_t arg);
+ }
+}