std_bitset.h: Doxygenate std::bitset<>.
[official-gcc.git] / libf2c / libF77 / c_sin.c
blob93a57660a90226185e3ae9e499b1238a14ec2f61
1 #include "f2c.h"
3 #ifdef KR_headers
4 extern double sin(), cos(), sinh(), cosh();
6 VOID c_sin(r, z) complex *r, *z;
7 #else
8 #undef abs
9 #include "math.h"
11 void c_sin(complex *r, complex *z)
12 #endif
14 double zi = z->i, zr = z->r;
15 r->r = sin(zr) * cosh(zi);
16 r->i = cos(zr) * sinh(zi);