Documentation
¶
Index ¶
- type BigFloat
- type BigInt
- func (c *BigInt) Abs()
- func (c *BigInt) Add()
- func (c *BigInt) And()
- func (c *BigInt) AndNot()
- func (c *BigInt) Binomial(n, k int64)
- func (c *BigInt) Cmp() int
- func (c *BigInt) CmpAbs() int
- func (c *BigInt) Div()
- func (c *BigInt) DivMod()
- func (c *BigInt) Dup()
- func (c *BigInt) Exp()
- func (c *BigInt) GCD()
- func (c *BigInt) GCD2()
- func (c *BigInt) Lsh(n uint)
- func (c *BigInt) Mod()
- func (c *BigInt) ModInverse()
- func (c *BigInt) ModSqrt()
- func (c *BigInt) Mul()
- func (c *BigInt) MulRange(a, b int64)
- func (c *BigInt) Neg()
- func (c *BigInt) Not()
- func (c *BigInt) Or()
- func (c *BigInt) Pow()
- func (c *BigInt) PushInt(vals ...int)
- func (c *BigInt) PushInt64(vals ...int64)
- func (c *BigInt) PushUint(vals ...uint)
- func (c *BigInt) Quo()
- func (c *BigInt) QuoRem()
- func (c *BigInt) Rem()
- func (c *BigInt) Rsh(n uint)
- func (c *BigInt) SetBit(i int, b uint)
- func (c *BigInt) Sqrt()
- func (c *BigInt) Sub()
- func (c *BigInt) Xor()
- type Decimal
- func (c *Decimal) Abs() *Decimal
- func (c *Decimal) Ack() *Decimal
- func (c *Decimal) Add() *Decimal
- func (c *Decimal) Cbrt() *Decimal
- func (c *Decimal) Ceil() *Decimal
- func (c *Decimal) Cmp() int
- func (c *Decimal) CmpTotal() int
- func (c *Decimal) Dup() *Decimal
- func (c *Decimal) Exp() *Decimal
- func (c *Decimal) Floor() *Decimal
- func (c *Decimal) Ln() *Decimal
- func (c *Decimal) Load(name string) *Decimal
- func (c *Decimal) Log10() *Decimal
- func (c *Decimal) Mul() *Decimal
- func (c *Decimal) Neg() *Decimal
- func (c *Decimal) PopFloat64() (float64, error)
- func (c *Decimal) PopInt64() (int64, error)
- func (c *Decimal) PopString() string
- func (c *Decimal) Pow() *Decimal
- func (c *Decimal) Push(ds ...*apd.Decimal) *Decimal
- func (c *Decimal) PushFloat64(fs ...float64) *Decimal
- func (c *Decimal) PushInt(vals ...int) *Decimal
- func (c *Decimal) PushInt64(vals ...int64) *Decimal
- func (c *Decimal) PushString(ss ...string) *Decimal
- func (c *Decimal) Quantize(exp int32) *Decimal
- func (c *Decimal) Quo() *Decimal
- func (c *Decimal) QuoInteger() *Decimal
- func (c *Decimal) Reduce() *Decimal
- func (c *Decimal) Rem() *Decimal
- func (c *Decimal) Round() *Decimal
- func (c *Decimal) RoundToIntegeralExact() *Decimal
- func (c *Decimal) RoundToIntegeralValue() *Decimal
- func (c *Decimal) Save(name string) *Decimal
- func (c *Decimal) Sqrt() *Decimal
- func (c *Decimal) Sub() *Decimal
- func (c *Decimal) Trunc() *Decimal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigInt ¶
func (*BigInt) ModInverse ¶
func (c *BigInt) ModInverse()
type Decimal ¶
type Decimal struct { coll.Stack[*apd.Decimal] Ctx *apd.Context Flags apd.Condition Err error // contains filtered or unexported fields }
func NewDecimal ¶
func NewDecimal() *Decimal
func (*Decimal) PopFloat64 ¶
func (*Decimal) PushFloat64 ¶
func (*Decimal) PushString ¶
func (*Decimal) QuoInteger ¶
func (*Decimal) RoundToIntegeralExact ¶
func (*Decimal) RoundToIntegeralValue ¶
Click to show internal directories.
Click to hide internal directories.