Navigation
Synopsis Generate a random real value in the interval [0.0,1.0).
Function real arbReal()
Usage import util::Math;
Description Generates an arbitrary real value in the interval [0.0, 1.0].
Examples
rascal>import util::Math;
ok
rascal>arbReal();
real: 0.5009233631534985
rascal>arbReal();
real: 0.07586670747976232
rascal>arbReal();
real: 0.32790513340684146
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.