Versions in this module Expand all Collapse all v3 v3.3.0 Dec 10, 2018 Changes in this version + const DefaultPrecision + const MaxPrecision + const MaxScale + const MinPrecision + const MinScale + const UnlimitedPrecision + var Context128 = Context + var Context32 = Context + var Context64 = Context + var ContextUnlimited = Context + var Regexp = regexp.MustCompile(...) + func Raw(x *Big) (*uint64, *big.Int) + type Big struct + Context Context + func New(value int64, scale int) *Big + func WithContext(c Context) *Big + func WithPrecision(p int) *Big + func (x *Big) Class() string + func (x *Big) Cmp(y *Big) int + func (x *Big) CmpAbs(y *Big) int + func (x *Big) Float(z *big.Float) *big.Float + func (x *Big) Float64() (f float64, ok bool) + func (x *Big) Format(s fmt.State, c rune) + func (x *Big) Int(z *big.Int) *big.Int + func (x *Big) Int64() (int64, bool) + func (x *Big) IsFinite() bool + func (x *Big) IsInf(sign int) bool + func (x *Big) IsInt() bool + func (x *Big) IsNaN(quiet int) bool + func (x *Big) IsNormal() bool + func (x *Big) IsSubnormal() bool + func (x *Big) MarshalText() ([]byte, error) + func (x *Big) Payload() Payload + func (x *Big) Precision() int + func (x *Big) Rat(z *big.Rat) *big.Rat + func (x *Big) Scale() int + func (x *Big) Sign() int + func (x *Big) Signbit() bool + func (x *Big) String() string + func (x *Big) Uint64() (uint64, bool) + func (z *Big) Abs(x *Big) *Big + func (z *Big) Add(x, y *Big) *Big + func (z *Big) CheckNaNs(x, y *Big) bool + func (z *Big) Copy(x *Big) *Big + func (z *Big) CopySign(x, y *Big) *Big + func (z *Big) FMA(x, y, u *Big) *Big + func (z *Big) Mul(x, y *Big) *Big + func (z *Big) Neg(x *Big) *Big + func (z *Big) Quantize(n int) *Big + func (z *Big) Quo(x, y *Big) *Big + func (z *Big) QuoInt(x, y *Big) *Big + func (z *Big) QuoRem(x, y, r *Big) (*Big, *Big) + func (z *Big) Reduce() *Big + func (z *Big) Rem(x, y *Big) *Big + func (z *Big) Round(n int) *Big + func (z *Big) RoundToInt() *Big + func (z *Big) Scan(state fmt.ScanState, verb rune) error + func (z *Big) Set(x *Big) *Big + func (z *Big) SetBigMantScale(value *big.Int, scale int) *Big + func (z *Big) SetFloat(x *big.Float) *Big + func (z *Big) SetFloat64(x float64) *Big + func (z *Big) SetInf(signbit bool) *Big + func (z *Big) SetMantScale(value int64, scale int) *Big + func (z *Big) SetNaN(signal bool) *Big + func (z *Big) SetRat(x *big.Rat) *Big + func (z *Big) SetScale(scale int) *Big + func (z *Big) SetString(s string) (*Big, bool) + func (z *Big) SetUint64(x uint64) *Big + func (z *Big) Sub(x, y *Big) *Big + func (z *Big) UnmarshalJSON(data []byte) error + func (z *Big) UnmarshalText(data []byte) error + type Condition uint32 + const Clamped + const ConversionSyntax + const DivisionByZero + const DivisionImpossible + const DivisionUndefined + const Inexact + const InsufficientStorage + const InvalidContext + const InvalidOperation + const Overflow + const Rounded + const Subnormal + const Underflow + func (c Condition) Error() string + func (c Condition) String() string + type Context struct + Conditions Condition + MaxScale int + MinScale int + OperatingMode OperatingMode + Precision int + RoundingMode RoundingMode + Traps Condition + func (c Context) Add(z, x, y *Big) *Big + func (c Context) Err() error + func (c Context) FMA(z, x, y, u *Big) *Big + func (c Context) Mul(z, x, y *Big) *Big + func (c Context) Quantize(z *Big, n int) *Big + func (c Context) Quo(z, x, y *Big) *Big + func (c Context) QuoInt(z, x, y *Big) *Big + func (c Context) QuoRem(z, x, y, r *Big) (*Big, *Big) + func (c Context) Reduce(z *Big) *Big + func (c Context) Rem(z, x, y *Big) *Big + func (c Context) Round(z *Big) *Big + func (c Context) RoundToInt(z *Big) *Big + func (c Context) Set(z, x *Big) *Big + func (c Context) SetString(z *Big, s string) (*Big, bool) + func (c Context) Sub(z, x, y *Big) *Big + type ErrNaN struct + Msg string + func (e ErrNaN) Error() string + type OperatingMode uint8 + const GDA + const Go + func (i OperatingMode) String() string + type Payload uint64 + func (p Payload) String() string + type RoundingMode uint8 + const AwayFromZero + const ToNearestAway + const ToNearestEven + const ToNegativeInf + const ToPositiveInf + const ToZero + func (i RoundingMode) String() string