1*47940Sbostic /*- 2*47940Sbostic * Copyright (c) 1980 The Regents of the University of California. 3*47940Sbostic * All rights reserved. 422833Skre * 5*47940Sbostic * %sccs.include.proprietary.c% 610446Sdlw */ 710446Sdlw 8*47940Sbostic #ifndef lint 9*47940Sbostic static char sccsid[] = "@(#)c_sin.c 5.2 (Berkeley) 04/12/91"; 10*47940Sbostic #endif /* not lint */ 11*47940Sbostic 1210446Sdlw #include "complex" 1310446Sdlw c_sin(r,z)1410446Sdlwc_sin(r, z) 1510446Sdlw complex *r, *z; 1610446Sdlw { 1710446Sdlw double sin(), cos(), sinh(), cosh(); 1810446Sdlw 1910446Sdlw r->real = sin(z->real) * cosh(z->imag); 2010446Sdlw r->imag = cos(z->real) * sinh(z->imag); 2110446Sdlw } 22