big

package
v1.3.4-beta7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigInt

type BigInt struct {
	*big.Int
}

func NewDecFromString

func NewDecFromString(s string) *BigInt

func NewFromString

func NewFromString(s string, base int) *BigInt

func NewInt

func NewInt(i int64) *BigInt

func (*BigInt) Abs

func (b *BigInt) Abs() *BigInt

func (*BigInt) Add

func (b *BigInt) Add(i *BigInt) *BigInt

func (*BigInt) AddInt

func (b *BigInt) AddInt(i int64) *BigInt

func (*BigInt) And

func (b *BigInt) And(i *BigInt) *BigInt

func (*BigInt) Cmp

func (b *BigInt) Cmp(i *BigInt) int

func (*BigInt) Copy

func (b *BigInt) Copy() *BigInt

func (*BigInt) Div

func (b *BigInt) Div(i *BigInt) *BigInt

func (*BigInt) DivMod

func (b *BigInt) DivMod(i *BigInt) (*BigInt, *BigInt)

func (*BigInt) Equal

func (b *BigInt) Equal(i *BigInt) bool

func (*BigInt) Exp

func (b *BigInt) Exp(i, m *BigInt) *BigInt

func (*BigInt) GreatOrEqual

func (b *BigInt) GreatOrEqual(i *BigInt) bool

func (*BigInt) Greater

func (b *BigInt) Greater(i *BigInt) bool

func (*BigInt) Less

func (b *BigInt) Less(i *BigInt) bool

func (*BigInt) LessOrEqual

func (b *BigInt) LessOrEqual(i *BigInt) bool

func (*BigInt) Lsh

func (b *BigInt) Lsh(i uint) *BigInt

func (*BigInt) Mod

func (b *BigInt) Mod(i *BigInt) *BigInt

func (*BigInt) Mul

func (b *BigInt) Mul(i *BigInt) *BigInt

func (*BigInt) Neg

func (b *BigInt) Neg() *BigInt

func (*BigInt) Or

func (b *BigInt) Or(i *BigInt) *BigInt

func (*BigInt) Pow

func (b *BigInt) Pow(i *BigInt) *BigInt

func (*BigInt) Quo

func (b *BigInt) Quo(i *BigInt) *BigInt

func (*BigInt) QuoRem

func (b *BigInt) QuoRem(i *BigInt) (*BigInt, *BigInt)

func (*BigInt) Rsh

func (b *BigInt) Rsh(i uint) *BigInt

func (*BigInt) Sub

func (b *BigInt) Sub(i *BigInt) *BigInt

func (*BigInt) SubInt

func (b *BigInt) SubInt(i int64) *BigInt

func (*BigInt) Xor

func (b *BigInt) Xor(i *BigInt) *BigInt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL