Lasso Soft Inc. > Home

[ sys_erand48 ]

Method

This method corresponds to the system's erand48() function. It generates pseudo-random number using a linear congruential algorithm and 48-bit integer arithmetic. This method returns decimal values uniformly distributed over the interval [0.0 , 1.0].

This method requires the input of three integers which serve as the seed for the generation of the pseudo-random number. It returns a staticarray containing, first, the decimal random number which was generated, followed by three integers which should serve as the three integer input for the next call to this method.

Consult your operating system's documentation for the exact behavior of this method.

  • Syntax
sys_erand48(int,int,int)
Examples

No examples found

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft