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