From a6e5fe5da63ed2dd8db74504075abacd2d557754 Mon Sep 17 00:00:00 2001 From: jofret Date: Tue, 11 Sep 2007 16:02:09 +0000 Subject: End of prototyping all elementary functions. Just need some code (wait for an internship). --- src/elementaryFunctions/acosh/sacosha.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/elementaryFunctions/acosh/sacosha.c (limited to 'src/elementaryFunctions/acosh/sacosha.c') diff --git a/src/elementaryFunctions/acosh/sacosha.c b/src/elementaryFunctions/acosh/sacosha.c new file mode 100644 index 00000000..c0c21ad5 --- /dev/null +++ b/src/elementaryFunctions/acosh/sacosha.c @@ -0,0 +1,20 @@ +/* +** -*- C -*- +** +** sacosha.c +** Made by Bruno JOFRET +** +** Started on Fri Jan 5 10:25:57 2007 jofret +** Last update Thu Sep 6 10:43:26 2007 bruno +** +** Copyright INRIA 2007 +*/ + +#include "acosh.h" + +void sacosha(float* x, float* y, int size) { + int i = 0; + for (i = 0; i < size; ++i) { + y[i] = sacoshs(x[i]); + } +} -- cgit