summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/atan/datana.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/atan/datana.c')
-rw-r--r--src/elementaryFunctions/atan/datana.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/elementaryFunctions/atan/datana.c b/src/elementaryFunctions/atan/datana.c
new file mode 100644
index 00000000..c238ccc0
--- /dev/null
+++ b/src/elementaryFunctions/atan/datana.c
@@ -0,0 +1,20 @@
+/*
+** -*- C -*-
+**
+** datana.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Thu Dec 7 14:54:56 2006 jofret
+** Last update Thu Sep 6 11:54:07 2007 bruno
+**
+** Copyright INRIA 2006
+*/
+
+#include "atan.h"
+
+void datana(double* x, double* y, int size) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = datans(x[i]);
+ }
+}