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

next_u64

random.next_u64

(exclusive_bound u64)
 => 
u64
[Contains abstract features]
return next random number of type u64 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)