Documentation ¶
Index ¶
Constants ¶
View Source
const ( Uint64 = iota Int64 Float64 )
Data types for Numeric64
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Numeric64 ¶
type Numeric64 struct { Type int // contains filtered or unexported fields }
Numeric64 is an internal datatype used to generalize an eventStream to hold any 64 bit numeric value. This is a performance optimation. An interface{} would require additional dynamic allocation of heap objects.
func Float64FromUint64 ¶
Float64FromUint64 creates a Float64 Numeric64 from a uint64 value.
func FromFloat64 ¶
FromFloat64 creates a Numeric64 from a Float64
Click to show internal directories.
Click to hide internal directories.