blob: 12fc7e6d1a774ec02b3072b9f1cd52553329ff53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <math.h>
#include <complex.h>
float complex ccoshf(float complex z)
{
float x, y;
x = crealf(z);
y = cimagf(z);
return coshf(x) * cosf(y) + (sinhf(x) * sinf(y)) * I;
}
|