diff options
Diffstat (limited to 'src/elementaryFunctions/cosh/zcoshs.c')
-rw-r--r-- | src/elementaryFunctions/cosh/zcoshs.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/elementaryFunctions/cosh/zcoshs.c b/src/elementaryFunctions/cosh/zcoshs.c index c9436928..816e9022 100644 --- a/src/elementaryFunctions/cosh/zcoshs.c +++ b/src/elementaryFunctions/cosh/zcoshs.c @@ -5,14 +5,18 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Thu Dec 7 12:05:48 2006 jofret -** Last update Wed Jan 31 11:14:07 2007 jofret +** Last update Tue Feb 6 10:48:24 2007 jofret ** ** Copyright INRIA 2006 */ #include "doubleComplex.h" +doubleComplex zcoss(doubleComplex); + doubleComplex zcoshs(doubleComplex z) { - /* FIXME: Dummy... */ - return (DoubleComplex(0,1)); + double real = creal(z); + double minusImag = -cimag(z); + + return (zcoss(DoubleComplex(minusImag, real))); } |