Documentation ¶
Index ¶
Constants ¶
View Source
const Float64MaxUnits = float64(Units + 1)
View Source
const Units = ((1 << 20) - 1)
Variables ¶
This section is empty.
Functions ¶
func HashFloat ¶
HashFloat gives a random float number, based on the given string. We always provide the same random number for the same string, seed pair.
func MapUint64ToFloat ¶
MapUint64ToFloat converts an uint64 into a [0, 1)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.