summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/cosh/zcoshs.c
diff options
context:
space:
mode:
authorjofret2007-02-23 17:07:39 +0000
committerjofret2007-02-23 17:07:39 +0000
commit870f1db45dae6e6d137b83bb4a4e5e9b47e73b89 (patch)
tree03c8aef4774ae44af3ba89781c47f6303bad42da /src/elementaryFunctions/cosh/zcoshs.c
parent9d6ec22d29413e2b662acd523c1171a2228f13f6 (diff)
downloadscilab2c-870f1db45dae6e6d137b83bb4a4e5e9b47e73b89.tar.gz
scilab2c-870f1db45dae6e6d137b83bb4a4e5e9b47e73b89.tar.bz2
scilab2c-870f1db45dae6e6d137b83bb4a4e5e9b47e73b89.zip
* src/elementaryFunctions/includes :
Add includes directory for profiling functions. * src/elementaryFunctions/*/*.h : Moving headers to includes. * src/elementaryFunctions/*/*.c : Better dependancies with includes. * src/elementaryFunctions/*/Makedile : Changing includes / headers / link.
Diffstat (limited to 'src/elementaryFunctions/cosh/zcoshs.c')
-rw-r--r--src/elementaryFunctions/cosh/zcoshs.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/elementaryFunctions/cosh/zcoshs.c b/src/elementaryFunctions/cosh/zcoshs.c
index 816e9022..d80fd091 100644
--- a/src/elementaryFunctions/cosh/zcoshs.c
+++ b/src/elementaryFunctions/cosh/zcoshs.c
@@ -5,18 +5,17 @@
** Made by Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on Thu Dec 7 12:05:48 2006 jofret
-** Last update Tue Feb 6 10:48:24 2007 jofret
+** Last update Fri Feb 23 16:48:33 2007 jofret
**
** Copyright INRIA 2006
*/
-#include "doubleComplex.h"
-
-doubleComplex zcoss(doubleComplex);
+#include "cosh.h"
+#include "cos.h"
doubleComplex zcoshs(doubleComplex z) {
- double real = creal(z);
- double minusImag = -cimag(z);
+ double real = zreals(z);
+ double minusImag = -zimags(z);
return (zcoss(DoubleComplex(minusImag, real)));
}