floor

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FloorUint8   func([]uint8, []uint8, int64) []uint8
	FloorUint16  func([]uint16, []uint16, int64) []uint16
	FloorUint32  func([]uint32, []uint32, int64) []uint32
	FloorUint64  func([]uint64, []uint64, int64) []uint64
	FloorInt8    func([]int8, []int8, int64) []int8
	FloorInt16   func([]int16, []int16, int64) []int16
	FloorInt32   func([]int32, []int32, int64) []int32
	FloorInt64   func([]int64, []int64, int64) []int64
	FloorFloat32 func([]float32, []float32, int64) []float32
	FloorFloat64 func([]float64, []float64, int64) []float64
)
View Source
var MaxInt16digits = numOfDigits(math.MaxInt16)
View Source
var MaxInt32digits = numOfDigits(math.MaxInt32)
View Source
var MaxInt64digits = numOfDigits(math.MaxInt64) // 19
View Source
var MaxInt8digits = numOfDigits(math.MaxInt8)
View Source
var MaxUint16digits = numOfDigits(math.MaxUint16)
View Source
var MaxUint32digits = numOfDigits(math.MaxUint32)
View Source
var MaxUint64digits = numOfDigits(math.MaxUint64) // 20
View Source
var MaxUint8digits = numOfDigits(math.MaxUint8)
View Source
var ScaleTable = [...]uint64{
	1,
	10,
	100,
	1000,
	10000,
	100000,
	1000000,
	10000000,
	100000000,
	1000000000,
	10000000000,
	100000000000,
	1000000000000,
	10000000000000,
	100000000000000,
	1000000000000000,
	10000000000000000,
	100000000000000000,
	1000000000000000000,
	10000000000000000000,
}

ScaleTable is a lookup array for digits

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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