Mojo function
random_si64
random_si64(min: SIMD[int64, 1], max: SIMD[int64, 1]) -> SIMD[int64, 1]
Returns a random Int64
number from the given range.
Args:
- min (
SIMD[int64, 1]
): The minimum number in the range. - max (
SIMD[int64, 1]
): The maximum number in the range.
Returns:
A random number from the specified range.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!