Versions in this module Expand all Collapse all v16 v16.1.0 May 9, 2024 v16.0.0 Apr 16, 2024 Changes in this version + const MaxPrecision + const MaxScale + type Num struct + func FromBigInt(v *big.Int) (n Num) + func FromDecimal128(n decimal128.Num) Num + func FromFloat32(v float32, prec, scale int32) (Num, error) + func FromFloat64(v float64, prec, scale int32) (Num, error) + func FromI64(v int64) Num + func FromString(v string, prec, scale int32) (n Num, err error) + func FromU64(v uint64) Num + func GetHalfScaleMultiplier(pow int) Num + func GetMaxValue(prec int32) Num + func GetScaleMultiplier(pow int) Num + func Max(first Num, rest ...Num) Num + func Min(first Num, rest ...Num) Num + func New(x1, x2, x3, x4 uint64) Num + func (n Num) Abs() Num + func (n Num) Add(rhs Num) Num + func (n Num) Array() [4]uint64 + func (n Num) BigInt() *big.Int + func (n Num) Cmp(other Num) int + func (n Num) Div(rhs Num) (res, rem Num) + func (n Num) FitsInPrecision(prec int32) bool + func (n Num) Greater(other Num) bool + func (n Num) GreaterEqual(other Num) bool + func (n Num) IncreaseScaleBy(increase int32) Num + func (n Num) Less(other Num) bool + func (n Num) LessEqual(other Num) bool + func (n Num) LowBits() uint64 + func (n Num) Mul(rhs Num) Num + func (n Num) Negate() Num + func (n Num) Pow(rhs Num) Num + func (n Num) ReduceScaleBy(reduce int32, round bool) Num + func (n Num) Rescale(original, newscale int32) (out Num, err error) + func (n Num) Sign() int + func (n Num) Sub(rhs Num) Num + func (n Num) ToFloat32(scale int32) float32 + func (n Num) ToFloat64(scale int32) float64 + func (n Num) ToString(scale int32) string Other modules containing this package github.com/apache/arrow/go/v10 github.com/apache/arrow/go/v11 github.com/apache/arrow/go/v12 github.com/apache/arrow/go/v13 github.com/apache/arrow/go/v14 github.com/apache/arrow/go/v15 github.com/apache/arrow/go/v17