mathextra

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const LARGEST_BIT uint64 = 1 << (64 - 1)

Variables

This section is empty.

Functions

func GetRoundedPercentageAsString

func GetRoundedPercentageAsString(total float64, partial float64) string

func MaxInt64

func MaxInt64(a int64, b int64) int64

func MaxUInt64

func MaxUInt64(a uint64, b uint64) uint64

func MinInt64

func MinInt64(a int64, b int64) int64

func MinUInt64

func MinUInt64(a uint64, b uint64) uint64

func Round

func Round(num float64) int64

func ToFixed

func ToFixed(num float64, precision int) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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