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
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.