random

Stack effect: ( -- n )

Return a pseudo-random number in the range [0, 1).

This word is Haiku Forth specific.

NOTE: In Haiku Forth (unlike Traditional Forth), all stack cells and memory locations are floating point numbers.

Forth Haiku Glossary