numeric

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeFloat

func DecodeFloat(src []byte) float64

func DecodeInteger

func DecodeInteger(src []byte) int64

func PutSortableFloat

func PutSortableFloat[T constraints.Float](dst []byte, v T)

Encodes a float64 so negative numbers can still be sorted before

func PutSortableInteger

func PutSortableInteger[T constraints.Signed](dst []byte, v T)

Encodes a int64 so negative numbers can still be sorted before

Types

This section is empty.

Jump to

Keyboard shortcuts

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