forked from AbleOS/ableos
8 lines
149 B
Plaintext
8 lines
149 B
Plaintext
|
uint_64 := fn(min: uint, max: uint): uint {
|
||
|
rng := @eca(uint, 3, 4)
|
||
|
|
||
|
if min != 0 | max != 0 {
|
||
|
return rng % (max - min + 1) + min
|
||
|
}
|
||
|
return rng
|
||
|
}
|