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

next_u64

random.next_u64

(exclusive_bound u64)
 => 
u64
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-07-10 15:41:47 GIT hash eafa42ae743de61b62f958948d7abb5fada7756f built by fridi@fzen)