1 REAL FUNCTION SLARND( IDIST, ISEED )
46 parameter( one = 1.0e+0, two = 2.0e+0 )
48 parameter( twopi = 6.2831853071795864769252867663e+0 )
58 INTRINSIC cos, log, sqrt
71 ELSE IF( idist.EQ.2 )
THEN
76 ELSE IF( idist.EQ.3 )
THEN
81 slarnd = sqrt( -two*log( t1 ) )*cos( twopi*t2 )