package float16

Import Path
	github.com/apache/arrow-go/v18/arrow/float16 (on go.dev)

Dependency Relation
	imports 4 packages, and imported by 5 packages

Involved Source Files float16.go
Package-Level Type Names (only one)
/* sort by: | */
Num represents a half-precision floating point value (float16) stored on 16 bits. See https://en.wikipedia.org/wiki/Half-precision_floating-point_format for more informations. ( Num) Abs() Num ( Num) Add(rhs Num) Num Cmp compares the numbers represented by n and other and returns: +1 if n > other 0 if n == other -1 if n < other ( Num) Div(rhs Num) Num Equal returns true if the value represented by n is == other ( Num) Float32() float32 ( Num) Format(s fmt.State, verb rune) Greater returns true if the value represented by n is > other GreaterEqual returns true if the value represented by n is >= other ( Num) IsInf() bool ( Num) IsNaN() bool ( Num) IsZero() bool Less returns true if the value represented by n is < other LessEqual returns true if the value represented by n is <= other ( Num) Mul(rhs Num) Num ( Num) Negate() Num ( Num) PutLEBytes(dst []byte) ( Num) Sign() int ( Num) Signbit() bool ( Num) String() string ( Num) Sub(rhs Num) Num ( Num) ToLEBytes() []byte ( Num) Uint16() uint16 Num : expvar.Var Num : fmt.Formatter Num : fmt.Stringer Num : gopkg.in/yaml.v3.IsZeroer func FromBits(src uint16) Num func FromLEBytes(src []byte) Num func Inf() Num func Max(first Num, rest ...Num) Num func Min(first Num, rest ...Num) Num func NaN() Num func New(f float32) Num func Num.Abs() Num func Num.Add(rhs Num) Num func Num.Div(rhs Num) Num func Num.Mul(rhs Num) Num func Num.Negate() Num func Num.Sub(rhs Num) Num func github.com/apache/arrow-go/v18/arrow/array.(*Float16).Value(i int) Num func github.com/apache/arrow-go/v18/arrow/array.(*Float16).Values() []Num func Max(first Num, rest ...Num) Num func Max(first Num, rest ...Num) Num func Min(first Num, rest ...Num) Num func Min(first Num, rest ...Num) Num func Num.Add(rhs Num) Num func Num.Cmp(other Num) int func Num.Div(rhs Num) Num func Num.Equal(other Num) bool func Num.Greater(other Num) bool func Num.GreaterEqual(other Num) bool func Num.Less(other Num) bool func Num.LessEqual(other Num) bool func Num.Mul(rhs Num) Num func Num.Sub(rhs Num) Num func github.com/apache/arrow-go/v18/arrow/array.(*Float16Builder).Append(v Num) func github.com/apache/arrow-go/v18/arrow/array.(*Float16Builder).AppendValues(v []Num, valid []bool) func github.com/apache/arrow-go/v18/arrow/array.(*Float16Builder).UnsafeAppend(v Num) func github.com/apache/arrow-go/v18/arrow/compute/internal/kernels.DoFloat16Cast[InT](in []InT, out []Num) func github.com/apache/arrow-go/v18/arrow/compute/internal/kernels.DoFloat16CastToNumber[OutT](in []Num, out []OutT) func github.com/apache/arrow-go/v18/arrow/scalar.NewFloat16Scalar(val Num) *scalar.Float16 var MaxNum var MinNum
Package-Level Functions (total 7)
func FromBits(src uint16) Num
func FromLEBytes(src []byte) Num
func Inf() Num
Max returns the largest Decimal128 that was passed in the arguments
Min returns the smallest Decimal128 that was passed in the arguments
func NaN() Num
New creates a new half-precision floating point value from the provided float32 value.
Package-Level Variables (total 2)
var MaxNum Num
var MinNum Num