]> git.uio.no Git - u/mrichter/AliRoot.git/blob - GEANT321/miguti/exprnf.F
This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / miguti / exprnf.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:21:54  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.48  by  S.Giani
11 *-- Author :
12       FUNCTION EXPRNF(A)
13 C
14 #include "geant321/crandm.inc"
15 C
16       REAL I
17 C
18       I = 0.0
19    10 X = RANDC(ISEED)
20       Z = X
21    20 Y = RANDC(ISEED)
22       IF(Z-Y) 50 ,50 ,30
23    30 Z = RANDC(ISEED)
24       IF(Z-Y) 20 ,40 ,40
25    40 I = I + 1.0
26       GO TO 10
27    50 EXPRNF = X + I
28       RETURN
29       END