Difference between revisions of "LlFrandom"
Jump to navigation
Jump to search
m |
m |
||
Line 11: | Line 11: | ||
|examples= | |examples= | ||
Asymmetric encryption or random game theory (Eg. Gambling) | Asymmetric encryption or random game theory (Eg. Gambling) | ||
|notes=[[LlFrand]] is a | |notes=[[LlFrand]] is a [[Pseudo Random]] number generator | ||
|helpers|related|also|notes}} | |helpers|related|also|notes}} |
Revision as of 11:49, 21 May 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
LSL Feature Request | |
The described function does not exist. This article is a feature request. |
Summary
Function: float llFrandom( float mag );REQUEST | Function ID |
3.5 | Forced Delay |
Energy |
Automatically and indepedantly seeded, random float and can be used as a source of entropy (In the best sense of the word) in the range [0.0,mag) or (mag, 0.0].
Returns a float that is "true" (In the best sense of the word) random number in the range [0.0,mag) or (mag, 0.0].
The sign of mag matches the return
• float | mag | – | Any valid float value |
Caveats
Examples
Asymmetric encryption or random game theory (Eg. Gambling)
Notes
LlFrand is a Pseudo Random number generator