mathHelpers

package
v1.2.31 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoinToss

func CoinToss() bool

func Max

func Max(x, y int) int

func Min

func Min(x, y int) int

Min returns the smaller of x or y. The Min function returns the minimum value between two integers.

func RandomBetween

func RandomBetween(min, max int) int

func RandomInt

func RandomInt(max int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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