Documentation Prolog Predicate Reference random random/1

random/1

Generate random value.

Description

random( -float )

random(R) unifies R with a float value in the range (0.0, 1.0).

Implementation