random

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Num

func Num(max int) int

Num returns pseudo-random numbers. @see: https://www.arduino.cc/reference/en/language/functions/random-numbers/random/

func NumBetween

func NumBetween(min, max int) int

NumBetween returns pseudo-random numbers between min and max. @see: https://www.arduino.cc/reference/en/language/functions/random-numbers/random/

func Seed

func Seed(seed int64)

Seed initializes the pseudo-random number generator, causing it to start at an arbitrary point in its random sequence. @see: https://www.arduino.cc/reference/en/language/functions/random-numbers/randomseed/

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL