floor

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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
	FloorDecimal128 func(int32, []types.Decimal128, []types.Decimal128, int64) []types.Decimal128
)
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