intx

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeBase

func ChangeBase(i int64, base int) string

func Curve added in v0.0.14

func Curve(val, min, max int) int

func CurveMax added in v0.0.14

func CurveMax(val, max int) int

func CurveMin added in v0.0.14

func CurveMin(val, min int) int

func Ptr added in v0.0.14

func Ptr(val int) *int

func SplitInGroups added in v0.0.14

func SplitInGroups(total, groupCount int) []int

SplitInGroups splits total into groupCount groups. total: 5, groupCount: 3 => [2, 2, 1] total: 5, groupCount: 2 => [3, 2]

func ToString

func ToString(i int) string

func ToString32

func ToString32(i int32) string

func ToString64

func ToString64(i int64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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