floats

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFloat64

func AddFloat64(addr *float64, value float64) float64

func B2U

func B2U(b []byte) uint64

B2U converts an 8-byte slice to a uint64.

func Float64

func Float64(v interface{}) (f float64, err error)

Float64 将参数 value 转换成 float64 返回

func Humanize

func Humanize(v float64) string

func Humanize1024

func Humanize1024(v float64) string

func LoadFloat64

func LoadFloat64(addr *float64) float64

func StoreFloat64

func StoreFloat64(addr *float64, value float64)

func SwapFloat64

func SwapFloat64(addr *float64, value float64) float64

func U2B

func U2B(v uint64) []byte

U2B converts a uint64 into an 8-byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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