mathHelpers

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mathHelpers contains small numeric helpers and utility functions.

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