summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/cosh/zcoshs.c
blob: d80fd091a57a6e06072f5c2288d3f4017b31d9bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
**  -*- C -*-
**
** zcoshs.c
** Made by  Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on  Thu Dec  7 12:05:48 2006 jofret
** Last update Fri Feb 23 16:48:33 2007 jofret
**
** Copyright INRIA 2006
*/

#include "cosh.h"
#include "cos.h"

doubleComplex		zcoshs(doubleComplex z) {
  double real = zreals(z);
  double minusImag = -zimags(z);

  return (zcoss(DoubleComplex(minusImag, real)));
}