      complex function csin (z)
c april 1977 version.  w. fullerton, c3, los alamos scientific lab.
      complex z
      external cos, cosh, sin, sinh
c
      x = real (z)
      y = aimag (z)
c
      sn = sin(x)
      call erroff
c
      csin = cmplx (sn*cosh(y), cos(x)*sinh(y))
c
      return
      end