This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / MINICERN / mathlib / gen / c / cwerf.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1996/04/01 15:02:05  mclareni
6 * Mathlib gen
7 *
8 *
9 #include "gen/pilot.h"
10 #if defined(CERNLIB_DOUBLE)
11       FUNCTION CWERF(Z)
12       COMPLEX CWERF,Z
13 #include "gen/defc64.inc"
14      +     WWERF,W
15 #include "gen/def64.inc"
16      +     D
17
18 #if defined(CERNLIB_QF2C)
19 #include "defdr.inc"
20 #endif
21
22       SROUND(D)=D+(D-SNGL(D))
23       W=Z
24       W=WWERF(W)
25       CWERF=CMPLX(SROUND(DREAL(W)),SROUND(DIMAG(W)))
26       END
27 #endif