Versions in this module Expand all Collapse all v10 v10.0.1 Nov 15, 2022 v10.0.0 Oct 20, 2022 Changes in this version + var MaxDecimal128 = New(542101086242752217, 687399551400673280 - 1) + type Num struct + func FromBigInt(v *big.Int) (n 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 FromU64(v uint64) Num + func New(hi int64, lo uint64) Num + func (n Num) Abs() Num + func (n Num) BigInt() *big.Int + func (n Num) FitsInPrecision(prec int32) bool + func (n Num) GreaterEqual(other Num) bool + func (n Num) HighBits() int64 + func (n Num) IncreaseScaleBy(increase int32) Num + func (n Num) Less(other Num) bool + func (n Num) LowBits() uint64 + func (n Num) Negate() Num + func (n Num) ReduceScaleBy(reduce int32, round bool) Num + func (n Num) Rescale(originalScale, newScale int32) (out Num, err error) + func (n Num) Sign() int + func (n Num) ToFloat32(scale int32) float32 + func (n Num) ToFloat64(scale int32) float64 Other modules containing this package 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/v16 github.com/apache/arrow/go/v6 github.com/apache/arrow/go/v7 github.com/apache/arrow/go/v8 github.com/apache/arrow/go/v9