74 REAL FUNCTION slarnd( IDIST, ISEED )
92 parameter ( one = 1.0e+0, two = 2.0e+0 )
94 parameter ( twopi = 6.2831853071795864769252867663e+0 )
104 INTRINSIC cos, log, sqrt
112 IF( idist.EQ.1 )
THEN
117 ELSE IF( idist.EQ.2 )
THEN
122 ELSE IF( idist.EQ.3 )
THEN
127 slarnd = sqrt( -two*log( t1 ) )*cos( twopi*t2 )
real function slarnd(IDIST, ISEED)
SLARND