This is an old revision of the document!
RAND
Synopsis
Generate a pseudo-random real number
Description
The RAND
function returns a pseudo-random number. The sequence is generated by the xoroshiro128+ (v1.0) pseudo-random number generator.
Compatibility
This command is fully compatible with userRPL.
Usage
The following program
« 32 SETPREC -1 RDZ RAND »
will result in
1: 0.437333743646 ……………………………………………………………………………………