summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/Trigonometry/sec/sseca.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/elementaryFunctions/Trigonometry/sec/sseca.c')
-rw-r--r--src/c/elementaryFunctions/Trigonometry/sec/sseca.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/c/elementaryFunctions/Trigonometry/sec/sseca.c b/src/c/elementaryFunctions/Trigonometry/sec/sseca.c
new file mode 100644
index 0000000..f5fd81b
--- /dev/null
+++ b/src/c/elementaryFunctions/Trigonometry/sec/sseca.c
@@ -0,0 +1,8 @@
+#include "sec.h"
+
+void sseca(float* in, int size, float* out) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ out[i] = ssecs(in[i]);
+ }
+}