1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)z_cos.c	5.1	6/7/85
   7:  */
   8: 
   9: #include "complex"
  10: 
  11: z_cos(r, z)
  12: dcomplex *r, *z;
  13: {
  14: double sin(), cos(), sinh(), cosh();
  15: 
  16: r->dreal = cos(z->dreal) * cosh(z->dimag);
  17: r->dimag = - sin(z->dreal) * sinh(z->dimag);
  18: }

Defined functions

z_cos defined in line 11; never used
Last modified: 1985-06-08
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 784
Valid CSS Valid XHTML 1.0 Strict