Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

get

random.get

(exclusive_bound u64)
 => 
u64
[Contains abstract features]
get the current random number in the range 0..exclusive_bound-1

Note: uniform distribution is not perfect, it gets worse the closer exclusive_bound gets to 2^64, because internal calculation uses modulo
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)