math

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FactorsInt added in v0.18.0

func FactorsInt(num int) []int

func FactorsInt32 added in v0.18.0

func FactorsInt32(num int32) []int32

func FactorsInt64 added in v0.18.0

func FactorsInt64(num int64) []int64

func IsDivisibleByInt added in v0.18.0

func IsDivisibleByInt(num int, divisor int) bool

func IsDivisibleByInt32 added in v0.18.0

func IsDivisibleByInt32(num int32, divisor int32) bool

func IsDivisibleByInt64 added in v0.18.0

func IsDivisibleByInt64(num int64, divisor int64) bool

func MaxFloat32 added in v0.14.0

func MaxFloat32(val float32, vals ...float32) float32

func MaxFloat64 added in v0.14.0

func MaxFloat64(val float64, vals ...float64) float64

func MaxInt

func MaxInt(val int, vals ...int) int

func MaxInt32 added in v0.14.0

func MaxInt32(val int32, vals ...int32) int32

func MaxInt64 added in v0.14.0

func MaxInt64(val int64, vals ...int64) int64

func MinFloat32 added in v0.14.0

func MinFloat32(val float32, vals ...float32) float32

func MinFloat64 added in v0.14.0

func MinFloat64(val float64, vals ...float64) float64

func MinInt

func MinInt(val int, vals ...int) int

func MinInt32 added in v0.14.0

func MinInt32(val int32, vals ...int32) int32

func MinInt64 added in v0.14.0

func MinInt64(val int64, vals ...int64) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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