mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 21:09:52 +08:00
4d85a6fea6
* libF77/*: Delete KR_headers cruft. * libI77/*: Likewise. * libU77/*: Likewise. From-SVN: r54132
12 lines
178 B
C
12 lines
178 B
C
#include "f2c.h"
|
|
|
|
#undef abs
|
|
#include "math.h"
|
|
|
|
void c_cos(complex *r, complex *z)
|
|
{
|
|
double zi = z->i, zr = z->r;
|
|
r->r = cos(zr) * cosh(zi);
|
|
r->i = - sin(zr) * sinh(zi);
|
|
}
|