![[next]](next.gif)
![[previous]](previous.gif)
![[up]](up.gif)
![[top]](top.gif)
random x -- yields a random real number in the range 0 .. x.
Synopsis of use:
Code:
-- ../m2/integers.m2:68-72
random RR := RR => x -> (
if x <= 0. then (
error "expected a positive number"
);
x * (randomint() / d))
![[next]](next.gif)
![[previous]](previous.gif)
![[up]](up.gif)
![[top]](top.gif)