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

next_i64

random.next_i64

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