sortfloat

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReverseFloat64

func ReverseFloat64(a uint64) float64

ReverseFloat64 converts the uint64 back to the original value. See SortableFloat64.

func SortableFloat64

func SortableFloat64(a float64) uint64

SortableFloat64 converts a float64 to a uint64 that sort in similar fashion to float64, including NaN, +-Inf. The value can be converted back to the exact float64 value using ReverseFloat64.

Types

This section is empty.

Jump to

Keyboard shortcuts

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