gtbox_number

package
v0.1.88 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GTBigFLoat2Float64 added in v0.0.48

func GTBigFLoat2Float64(bigFloat *big.Float) float64

GTBigFLoat2Float64 Float64超高精度运算--除法 bigFloat 传入的big.float 指针 Return [float64] 返回float64

func GTFloat64Div added in v0.0.38

func GTFloat64Div(a, b float64) float64

GTFloat64Div Float64超高精度运算--除法

func GTFloat64GetLengthAfter added in v0.0.31

func GTFloat64GetLengthAfter(f float64) int

GTFloat64GetLengthAfter 获取`float64`小数点后位数

func GTFloat64GetLengthBefore added in v0.0.31

func GTFloat64GetLengthBefore(f float64) int

GTFloat64GetLengthBefore 获取`float64`小数点前位数

func GTFloat64GetLengthSegmentLength added in v0.0.31

func GTFloat64GetLengthSegmentLength(f float64) (total, before, after int)

GTFloat64GetLengthSegmentLength 获取`float64`总位数、小数点前位数和小数点后位数

func GTFloat64Mul added in v0.0.38

func GTFloat64Mul(a, b float64) float64

GTFloat64Mul Float64超高精度运算--乘法

func GTFloat64Sub added in v0.0.38

func GTFloat64Sub(a, b float64) float64

GTFloat64Sub Float64超高精度运算--减法

func GTFloat64Sum added in v0.0.38

func GTFloat64Sum(a, b float64) float64

GTFloat64Sum Float64超高精度运算--加法

func GTToolsNumberFloat64ToInt64

func GTToolsNumberFloat64ToInt64(num float64, retain int) int64

GTToolsNumberFloat64ToInt64 将float64转成精确的int64

func GetFloat64GetLengthTotal added in v0.0.31

func GetFloat64GetLengthTotal(f float64) int

GetFloat64GetLengthTotal 获取`float64`总位数

Types

This section is empty.

Jump to

Keyboard shortcuts

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