Versions in this module Expand all Collapse all v1 v1.0.0 Nov 15, 2019 Changes in this version + var DefaultContext = Context64 + var E64 = newFromParts(0, -15, 2718281828459045) + var Infinity64 = Decimal64 + var Max64 = newFromParts(0, expMax, maxSig) + var Min64 = newFromParts(0, -398, 1) + var NegInfinity64 = Decimal64 + var NegMax64 = newFromParts(1, expMax, maxSig) + var NegOne64 = newFromParts(1, -15, decimal64Base) + var NegZero64 = newFromParts(1, 0, 0) + var One64 = newFromParts(0, -15, decimal64Base) + var Pi64 = newFromParts(0, -15, 3141592653589793) + var QNaN64 = Decimal64 + var SNaN64 = Decimal64 + var Zero64 = newFromParts(0, 0, 0) + type Context64 struct + func (ctx Context64) Add(d, e Decimal64) Decimal64 + func (ctx Context64) FMA(d, e, f Decimal64) Decimal64 + func (ctx Context64) Mul(d, e Decimal64) Decimal64 + func (ctx Context64) Quo(d, e Decimal64) Decimal64 + type Decimal64 struct + func MustParse64(s string) Decimal64 + func New64FromInt64(value int64) Decimal64 + func Parse64(s string) (Decimal64, error) + func (d *Decimal64) GobDecode(buf []byte) error + func (d *Decimal64) Scan(state fmt.ScanState, verb rune) error + func (d *Decimal64) UnmarshalJSON(data []byte) error + func (d *Decimal64) UnmarshalText(text []byte) error + func (d Decimal64) Abs() Decimal64 + func (d Decimal64) Add(e Decimal64) Decimal64 + func (d Decimal64) Append(buf []byte, format byte, prec int) []byte + func (d Decimal64) Class() string + func (d Decimal64) Cmp(e Decimal64) int + func (d Decimal64) FMA(e, f Decimal64) Decimal64 + func (d Decimal64) Float64() float64 + func (d Decimal64) Format(s fmt.State, format rune) + func (d Decimal64) GobEncode() ([]byte, error) + func (d Decimal64) Int64() int64 + func (d Decimal64) IsInf() bool + func (d Decimal64) IsInt() bool + func (d Decimal64) IsNaN() bool + func (d Decimal64) IsQNaN() bool + func (d Decimal64) IsSNaN() bool + func (d Decimal64) IsSubnormal() bool + func (d Decimal64) IsZero() bool + func (d Decimal64) MarshalJSON() ([]byte, error) + func (d Decimal64) MarshalText() []byte + func (d Decimal64) Mul(e Decimal64) Decimal64 + func (d Decimal64) Neg() Decimal64 + func (d Decimal64) Quo(e Decimal64) Decimal64 + func (d Decimal64) Sign() int + func (d Decimal64) Signbit() bool + func (d Decimal64) Sqrt() Decimal64 + func (d Decimal64) String() string + func (d Decimal64) Sub(e Decimal64) Decimal64 + func (d Decimal64) Text(format byte, prec int) string